automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cross-reference: nobase_include_HEADERS vs. mumbledir; mumble_HEADER


From: Alexandre Duret-Lutz
Subject: Re: cross-reference: nobase_include_HEADERS vs. mumbledir; mumble_HEADERS
Date: Sat, 26 Feb 2005 11:36:01 +0100
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)

>>> "Leonardo" == Leonardo Boiko <address@hidden> writes:

[...]

 Leonardo> I don't know if all that sounded silly or obvious,
 Leonardo> but if not, may I suggest a cross-reference from the
 Leonardo> "An Alternative Approach..." node to the "Uniform
 Leonardo> Naming Scheme" node?

Thanks for the suggestion, I'm installing this on HEAD and branch-1-9.

2005-02-26  Alexandre Duret-Lutz  <address@hidden>

        * doc/automake.texi (Alternative): Show how to rewrite nobase_
        variables using custom directory variables, and link to node
        Uniform.  Suggested by Leonardo Boiko.

Index: THANKS
===================================================================
RCS file: /cvs/automake/automake/THANKS,v
retrieving revision 1.265
diff -u -r1.265 THANKS
--- THANKS      8 Feb 2005 21:22:47 -0000       1.265
+++ THANKS      26 Feb 2005 10:31:37 -0000
@@ -137,6 +137,7 @@
 Lars J. Aas            address@hidden
 Laurent Morichetti     address@hidden
 Leo Davis              address@hidden
+Leonardo Boiko         address@hidden
 Loulou Pouchet         address@hidden
 Maciej Stachowiak      address@hidden
 Maciej W. Rozycki      address@hidden
Index: doc/automake.texi
===================================================================
RCS file: /cvs/automake/automake/doc/automake.texi,v
retrieving revision 1.99
diff -u -r1.99 automake.texi
--- doc/automake.texi   26 Feb 2005 10:05:19 -0000      1.99
+++ doc/automake.texi   26 Feb 2005 10:31:39 -0000
@@ -2873,9 +2873,24 @@
 either @samp{dist_} or @samp{nodist_} (@pxref{Dist}).  For instance:
 
 @example
-nobase_dist_pkgdata_DATA = images/vortex.pgm
+nobase_dist_pkgdata_DATA = images/vortex.pgm sounds/whirl.ogg
 @end example
 
+Finally, note that a variable using the @samp{nobase_} prefix can
+always be replaced by several variables, one for each destination
+directory (@pxref{Uniform}).  For instance the last example could be
+rewritten as follows.
+
address@hidden
+imagesdir = $(pkgdatadir)/images
+soundsdir = $(pkgdatadir)/sounds
+dist_images_DATA = images/vortex.pgm
+dist_sounds_DATA = sounds/whirl.ogg
address@hidden example
+
address@hidden
+This latter syntax makes it possible to change one destination
+directory without changing the layout of the source tree.
 
 @node Subpackages
 @section Nesting Packages

-- 
Alexandre Duret-Lutz





reply via email to

[Prev in Thread] Current Thread [Next in Thread]