2006-10-20 20:26:00 -04:00
|
|
|
dist_sysconf_DATA = makepkg.conf pacman.conf
|
2007-05-30 11:46:37 -04:00
|
|
|
EXTRA_DIST = makepkg.conf.in pacman.conf.in
|
|
|
|
|
|
|
|
# Files that should be removed, but which Automake does not know.
|
|
|
|
MOSTLYCLEANFILES = $(dist_sysconf_DATA)
|
|
|
|
|
|
|
|
#### Taken from the autoconf scripts Makefile.am ####
|
|
|
|
edit = sed \
|
2007-05-30 23:33:39 -04:00
|
|
|
-e 's|@sysconfdir[@]|$(sysconfdir)|g' \
|
2007-06-04 10:19:28 -04:00
|
|
|
-e 's|@localstatedir[@]|$(localstatedir)|g' \
|
2007-05-30 23:33:39 -04:00
|
|
|
-e 's|@prefix[@]|$(prefix)|g' \
|
2007-05-30 11:46:37 -04:00
|
|
|
-e 's|@PACKAGE_VERSION[@]|$(PACKAGE_VERSION)|g' \
|
|
|
|
-e 's|@PACKAGE_NAME[@]|$(PACKAGE_NAME)|g' \
|
|
|
|
-e 's|@PKGEXT[@]|$(PKGEXT)|g' \
|
2007-05-31 12:21:37 -04:00
|
|
|
-e 's|@SRCEXT[@]|$(SRCEXT)|g' \
|
2009-12-21 14:26:28 -05:00
|
|
|
-e 's|@STRIP_BINARIES[@]|$(STRIP_BINARIES)|g' \
|
|
|
|
-e 's|@STRIP_SHARED[@]|$(STRIP_SHARED)|g' \
|
|
|
|
-e 's|@STRIP_STATIC[@]|$(STRIP_STATIC)|g' \
|
2007-05-30 11:46:37 -04:00
|
|
|
-e 's|@CARCH[@]|$(CARCH)|g' \
|
|
|
|
-e 's|@CHOST[@]|$(CHOST)|g' \
|
|
|
|
-e 's|@ARCHSWITCH[@]|$(ARCHSWITCH)|g' \
|
2007-06-04 10:19:28 -04:00
|
|
|
-e 's|@ROOTDIR[@]|$(ROOTDIR)|g'
|
2007-05-30 11:46:37 -04:00
|
|
|
|
|
|
|
$(dist_sysconf_DATA): Makefile
|
2011-12-07 13:33:41 -05:00
|
|
|
$(AM_V_at)$(RM) $@ $@.tmp
|
|
|
|
$(AM_V_GEN)$(edit) `test -f ./$@.in || echo $(srcdir)/`$@.in >$@.tmp
|
|
|
|
$(AM_V_at)mv $@.tmp $@
|
2007-05-30 11:46:37 -04:00
|
|
|
|
|
|
|
makepkg.conf: $(srcdir)/makepkg.conf.in
|
|
|
|
pacman.conf: $(srcdir)/pacman.conf.in
|
2007-06-04 17:49:09 -04:00
|
|
|
|
|
|
|
# vim:set ts=2 sw=2 noet:
|