[csw-maintainers] GAR: EXPANDVARS for autoconf-style expansion in DISTFILES
Sebastian Kayser
skayser at opencsw.org
Thu Sep 22 14:27:23 CEST 2011
Hi folks,
Dago just mentioned a nifty autoconf-style expansion feature in GAR that
at least I wasn't aware of. Now documented in the variable reference
[1]. Usage example would e.g. be the openldap build [2].
EXPANDVARS
List of files from $(DISTFILES) which should receive autoconf-style
variable expansion. Such variables are then substituted with
Makefile variable values (i.e. @NAME@ would be exanded to the value
of $(NAME)). You can use this to easily adjust custom-shipped init
scripts or other files which depend on paths in your Makefile (e.g.
$(sysconfdir)).
Sebastian
[1] https://sourceforge.net/apps/trac/gar/wiki/GAR%20Variable%20Reference
[2] https://gar.svn.sf.net/svnroot/gar/csw/mgar/pkg/openldap/trunk/Makefile
More information about the maintainers
mailing list