m4files = $(wildcard ./info/*.m4) htmlfiles = $(m4files:%.m4=%.html) htmls: $(htmlfiles) info/complex.html # # you should run ./compute_distance.sh -d whenever changing # description tree!!! # complex.m4: compute_distance.sh ./compute_distance.sh -d info/complex.html: complex.m4 m4 -P webdefines_fixed.m4 webdefines.m4 $< >$@ info/%.html: info/%.m4 webdefines.m4 infohead.m4 infoheadmirror.m4 infotail.m4 ./buildinstructions.sh $* $@