2007-01-29 17:18:31 -05:00
|
|
|
pkgsysconfdir = ${sysconfdir}/pacman.d
|
2007-03-24 00:18:17 -04:00
|
|
|
dist_pkgsysconf_DATA = community current extra release testing unstable
|
2007-05-30 11:46:37 -04:00
|
|
|
EXTRA_DIST = mirrorlist.in
|
|
|
|
#
|
|
|
|
# Files that should be removed, but which Automake does not know.
|
|
|
|
MOSTLYCLEANFILES = $(dist_pkgsysconf_DATA)
|
2006-10-15 18:08:57 -04:00
|
|
|
|
2007-05-30 11:46:37 -04:00
|
|
|
$(dist_pkgsysconf_DATA): Makefile
|
|
|
|
rm -f $@ $@.tmp
|
|
|
|
sed \
|
|
|
|
-e "s|@REPO[@]|$@|g" \
|
|
|
|
-e 's|@CARCH[@]|$(CARCH)|g' \
|
|
|
|
$(srcdir)/mirrorlist.in >$@.tmp
|
|
|
|
mv $@.tmp $@
|
2007-01-16 22:40:08 -05:00
|
|
|
|
2006-10-15 18:08:57 -04:00
|
|
|
|
2007-05-30 11:46:37 -04:00
|
|
|
community: $(srcdir)/mirrorlist.in
|
|
|
|
current: $(srcdir)/mirrorlist.in
|
|
|
|
extra: $(srcdir)/mirrorlist.in
|
|
|
|
release: $(srcdir)/mirrorlist.in
|
|
|
|
testing: $(srcdir)/mirrorlist.in
|
|
|
|
unstable: $(srcdir)/mirrorlist.in
|