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
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.