public inbox for frysk@sourceware.org
 help / color / mirror / Atom feed
* Make build work with differently named *_JAR files
@ 2007-03-28  8:32 Mark Wielaard
  0 siblings, 0 replies; only message in thread
From: Mark Wielaard @ 2007-03-28  8:32 UTC (permalink / raw)
  To: frysk; +Cc: Thomas Girard

[-- Attachment #1: Type: text/plain, Size: 878 bytes --]

Hi,

Committing the following patchlet to common that helps Debian package
frysk by allowing you to build with thing like
JDOM_JAR=/my/sepecial/jdom-x-build.jar and have it properly be found in
the build.

2007-03-28  Mark Wielaard  <mark@klomp.org>

        Suggested by Thomas Girard (thomas.g.girard@free.fr)
        * Makefile.gen.sh (print_jar_rule): cp to $1.jar.

Thomas, I went for the $1.jar variant because that looked a little
clearer in context.

Cheers,

Mark

diff -u -r1.147 Makefile.gen.sh
--- common/Makefile.gen.sh      2 Mar 2007 23:38:20 -0000       1.147
+++ common/Makefile.gen.sh      28 Mar 2007 08:15:19 -0000
@@ -337,7 +337,7 @@
   cat <<EOF
 # print_jar_rule $1 $2
 $1.jar: \$($2_JAR)
-       cp \$($2_JAR) .
+       cp \$($2_JAR) $1.jar
 BUILT_SOURCES += $1.jar
 GEN_JARS += $1.jar
 noinst_LIBRARIES += libfrysk-$1.a


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-03-28  8:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-28  8:32 Make build work with differently named *_JAR files Mark Wielaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).