2006-12-19 02:39:44 -05:00
|
|
|
SUBDIRS = pacman.d abs
|
2007-02-22 16:34:51 -05:00
|
|
|
|
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 \
|
|
|
|
-e 's|@PACKAGE_VERSION[@]|$(PACKAGE_VERSION)|g' \
|
|
|
|
-e 's|@PACKAGE_NAME[@]|$(PACKAGE_NAME)|g' \
|
|
|
|
-e 's|@PKGEXT[@]|$(PKGEXT)|g' \
|
|
|
|
-e 's|@CARCH[@]|$(CARCH)|g' \
|
|
|
|
-e 's|@CHOST[@]|$(CHOST)|g' \
|
|
|
|
-e 's|@ARCHSWITCH[@]|$(ARCHSWITCH)|g' \
|
|
|
|
-e 's|@CARCHFLAGS[@]|$(CARCHFLAGS)|g'
|
|
|
|
|
|
|
|
$(dist_sysconf_DATA): Makefile
|
|
|
|
rm -f $@ $@.tmp
|
|
|
|
$(edit) `test -f ./$@.in || echo $(srcdir)/`$@.in >$@.tmp
|
|
|
|
mv $@.tmp $@
|
|
|
|
|
|
|
|
makepkg.conf: $(srcdir)/makepkg.conf.in
|
|
|
|
pacman.conf: $(srcdir)/pacman.conf.in
|