top_srcdir=../../.. top_builddir=$(top_srcdir) include $(top_srcdir)/makerules/common.mk DYDOAILIST = \ multiplay \ images \ messages DYDOAIARCHIVE = dydo-ai.wz OLD110LIST= \ doc \ images \ messages \ stats \ wrf OLD110ARCHIVE=old-1.10-balance.wz NTWLIST= \ addon.lev \ audio \ components \ COPYING \ doc \ effects \ images \ messages \ multiplay \ stats \ structs \ texpages \ wrf NTWARCHIVE=ntw.wz ZIPLIST=$(DYDOAIARCHIVE) $(OLD110ARCHIVE) $(NTWARCHIVE) .PHONY: all clean $(ZIPLIST) all: ifdef INSTALLER all: $(ZIPLIST) endif stamp: echo stamp > stamp $(DYDOAIARCHIVE): $(basename $(DYDOAIARCHIVE)) stamp $(patsubst %,$(basename $(DYDOAIARCHIVE))/%,$(DYDOAILIST)) cd $< && zip -r1 ..\$@ $(filter-out stamp,$(filter-out $<,$(^:$