X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=appliance%2FMakefile.am;fp=appliance%2FMakefile.am;h=503160eaf420788d430603ebeeba615474f904ee;hp=f1c232798a59e964397d39251fb56cd8d70ca1a8;hb=da24e7aab06361b8d9bb5b5c8417611501e94684;hpb=9556903888eed268895a8454491d56302985f7e1 diff --git a/appliance/Makefile.am b/appliance/Makefile.am index f1c2327..503160e 100644 --- a/appliance/Makefile.am +++ b/appliance/Makefile.am @@ -19,6 +19,7 @@ include $(top_srcdir)/subdir-rules.mk EXTRA_DIST = \ packagelist.in \ + excludelist.in \ init \ make.sh.in @@ -46,8 +47,13 @@ packagelist: packagelist.in 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 @@ -70,7 +76,7 @@ supermin.d/init.img: init # Make clean. -CLEANFILES = packagelist +CLEANFILES = packagelist excludelist clean-local: rm -rf supermin.d