X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;ds=sidebyside;f=appliance%2FMakefile.am;h=93e1167937be988e2b6f96ff1932de2c18b7f1b0;hb=284797c1561e5e089986027d469bd16ee1a983df;hp=74157b088ad1ff0fba3ef4a451ab360f88b4ef07;hpb=bb3a781783734e9f89f2cfa2cabca1efb32bcc45;p=libguestfs.git diff --git a/appliance/Makefile.am b/appliance/Makefile.am index 74157b0..93e1167 100644 --- a/appliance/Makefile.am +++ b/appliance/Makefile.am @@ -68,7 +68,7 @@ kmod.whitelist: kmod.whitelist.in grep -v '^[[:space:]]*$$' < $< | grep -v '^#' > $@ packagelist: packagelist.in - cpp -undef -DREDHAT=1 < $< | \ + cpp -undef -D$(DIST)=1 < $< | \ grep -v '^[[:space:]]*$$' | grep -v '^#' > $@ # This is for building the supermin appliance. It has to be enabled @@ -92,16 +92,6 @@ $(SUPERMINIMG): supermin.incfiles supermin-make.sh endif -# This should rebuild the scripts if the input files change, although -# it doesn't always seem to work. -%.sh: %.sh.in - cd .. && ./config.status appliance/$@ - chmod +x $@ - -libguestfs-supermin-helper: libguestfs-supermin-helper.in - cd .. && ./config.status appliance/$@ - chmod +x $@ - #---------------------------------------------------------------------- # Extra rules for testing the appliance.