2010-12-11 07:41:57 -08:00
|
|
|
SUBDIRS = mods/multiplay music
|
2007-08-17 10:42:17 -07:00
|
|
|
|
2008-05-23 15:01:07 -07:00
|
|
|
stamp:
|
|
|
|
touch stamp
|
|
|
|
|
2009-07-19 11:02:39 -07:00
|
|
|
%.wz: $(abs_srcdir)/% stamp
|
2010-08-29 07:27:45 -07:00
|
|
|
(cd $(srcdir)/$(notdir $<) && $(ZIP) -r0 $(ZIP_UPDATE) $(abs_builddir)/$@ $(filter-out stamp,$(filter-out $<,$(^:$</%=%))) -x '*svn*' -x '*Makefile*' || [ $$? -eq 12 ] && true) # zip returns 12 on "nothing to do"
|
2010-04-15 07:06:33 -07:00
|
|
|
$(ZIP) -T $@
|
2008-05-23 15:01:07 -07:00
|
|
|
rm -f stamp
|
|
|
|
|
2008-10-13 06:04:37 -07:00
|
|
|
BASELIST = \
|
2009-11-21 12:37:25 -08:00
|
|
|
palette.txt \
|
2008-10-13 06:04:37 -07:00
|
|
|
anims \
|
|
|
|
audio \
|
2010-01-23 20:16:01 -08:00
|
|
|
challenges \
|
2008-10-13 06:04:37 -07:00
|
|
|
components \
|
|
|
|
effects \
|
|
|
|
features \
|
|
|
|
gamedesc.lev \
|
|
|
|
images \
|
|
|
|
messages \
|
|
|
|
misc \
|
|
|
|
multiplay \
|
|
|
|
script \
|
|
|
|
sequenceaudio \
|
2010-03-06 15:06:35 -08:00
|
|
|
shaders\
|
2008-10-13 06:04:37 -07:00
|
|
|
stats \
|
|
|
|
structs \
|
|
|
|
tagdefinitions \
|
|
|
|
texpages \
|
2010-10-17 18:50:24 -07:00
|
|
|
tileset \
|
2008-10-13 06:04:37 -07:00
|
|
|
wrf
|
|
|
|
|
|
|
|
PATCHLIST = \
|
|
|
|
addon.lev \
|
|
|
|
anims \
|
|
|
|
components \
|
|
|
|
effects \
|
|
|
|
messages \
|
|
|
|
multiplay \
|
|
|
|
stats \
|
|
|
|
structs \
|
|
|
|
wrf
|
2007-06-28 10:47:08 -07:00
|
|
|
|
2008-05-23 15:01:07 -07:00
|
|
|
BASEARCHIVE = base.wz
|
|
|
|
PATCHARCHIVE = mp.wz
|
2007-01-08 17:28:01 -08:00
|
|
|
|
2008-05-23 15:01:07 -07:00
|
|
|
CLEANFILES = $(BASEARCHIVE) $(PATCHARCHIVE)
|
2007-02-15 07:36:25 -08:00
|
|
|
|
2009-07-19 11:02:39 -07:00
|
|
|
$(BASEARCHIVE): $(BASELIST:%=$(abs_srcdir)/$(basename $(BASEARCHIVE))/%)
|
|
|
|
$(PATCHARCHIVE): $(PATCHLIST:%=$(abs_srcdir)/$(basename $(PATCHARCHIVE))/%)
|
2006-12-24 17:43:01 -08:00
|
|
|
|
2009-05-31 14:14:54 -07:00
|
|
|
nodist_pkgdata_DATA = $(BASEARCHIVE) $(PATCHARCHIVE)
|
|
|
|
|
|
|
|
dist-hook: $(BASEARCHIVE) $(PATCHARCHIVE)
|
2010-04-15 07:06:33 -07:00
|
|
|
$(UNZIP) -u $(BASEARCHIVE) -d $(DESTDIR)$(distdir)/$(basename $(BASEARCHIVE))
|
|
|
|
$(UNZIP) -u $(PATCHARCHIVE) -d $(DESTDIR)$(distdir)/$(basename $(PATCHARCHIVE))
|