EXTRA_DIST = \
packagelist.in \
+ excludelist.in \
init \
make.sh.in
packagelist: packagelist.in
cpp -undef -D$(DISTRO)=1 < $< | \
- grep -v '^[[:space:]]*$$' | grep -v '^#' > $@
+ grep -v '^[[:space:]]*$$' | grep -v '^#' > $@-t
+ mv $@-t $@
+
+excludelist: excludelist.in
+ cpp -undef -D$(DISTRO)=1 < $< | \
+ grep -v '^[[:space:]]*$$' | grep -v '^#' > $@-t
+ mv $@-t $@
supermin.d/base.img supermin.d/hostfiles: stamp-supermin
-stamp-supermin: make.sh packagelist
+stamp-supermin: make.sh packagelist excludelist
mkdir -p supermin.d
rm -f $@ supermin.d/base.img supermin.d/hostfiles
./make.sh
# Make clean.
-CLEANFILES = packagelist
+CLEANFILES = packagelist excludelist
clean-local:
rm -rf supermin.d