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|@CARCH[@]|$(CARCH)|g' \
17 -e 's|@CHOST[@]|$(CHOST)|g' \
18 -e 's|@ARCHSWITCH[@]|$(ARCHSWITCH)|g' \
19 -e 's|@CARCHFLAGS[@]|$(CARCHFLAGS)|g' \
20 -e 's|@ROOTDIR[@]|$(ROOTDIR)|g'
22 $(dist_sysconf_DATA): Makefile
24 $(edit) `test -f ./$@.in || echo $(srcdir)/`$@.in >$@.tmp
27 makepkg.conf: $(srcdir)/makepkg.conf.in
28 pacman.conf: $(srcdir)/pacman.conf.in
30 # vim:set ts=2 sw=2 noet: