1 dist_sysconf_DATA = makepkg.conf pacman.conf
2 EXTRA_DIST = makepkg.conf.in pacman.conf.in
4 # Files that should be removed, but which Automake does not know.
5 MOSTLYCLEANFILES = $(dist_sysconf_DATA)
7 #### Taken from the autoconf scripts Makefile.am ####
9 -e 's|@sysconfdir[@]|$(sysconfdir)|g' \
10 -e 's|@localstatedir[@]|$(localstatedir)|g' \
11 -e 's|@prefix[@]|$(prefix)|g' \
12 -e 's|@PACKAGE_VERSION[@]|$(PACKAGE_VERSION)|g' \
13 -e 's|@PACKAGE_NAME[@]|$(PACKAGE_NAME)|g' \
14 -e 's|@PKGEXT[@]|$(PKGEXT)|g' \
15 -e 's|@SRCEXT[@]|$(SRCEXT)|g' \
16 -e 's|@STRIP_BINARIES[@]|$(STRIP_BINARIES)|g' \
17 -e 's|@STRIP_SHARED[@]|$(STRIP_SHARED)|g' \
18 -e 's|@STRIP_STATIC[@]|$(STRIP_STATIC)|g' \
19 -e 's|@CARCH[@]|$(CARCH)|g' \
20 -e 's|@CHOST[@]|$(CHOST)|g' \
21 -e 's|@ARCHSWITCH[@]|$(ARCHSWITCH)|g' \
22 -e 's|@CARCHFLAGS[@]|$(CARCHFLAGS)|g' \
23 -e 's|@ROOTDIR[@]|$(ROOTDIR)|g'
25 $(dist_sysconf_DATA): Makefile
28 @$(edit) `test -f ./$@.in || echo $(srcdir)/`$@.in >$@.tmp
31 makepkg.conf: $(srcdir)/makepkg.conf.in
32 pacman.conf: $(srcdir)/pacman.conf.in
34 # vim:set ts=2 sw=2 noet: