2007-06-28 10:47:08 -07:00
|
|
|
## Process this file with automake to produce Makefile.in
|
|
|
|
|
2006-06-16 14:11:20 -07:00
|
|
|
BASELIST = anims audio components effects features \
|
|
|
|
gamedesc.lev images messages misc multiplay novideo.rpl palette.bin script \
|
2007-06-28 10:47:08 -07:00
|
|
|
sequenceaudio stats structs texpages wrf
|
2006-06-16 14:11:20 -07:00
|
|
|
PATCHLIST = addon.lev anims audio components effects \
|
|
|
|
messages multiplay stats structs texpages wrf
|
2007-06-28 10:47:08 -07:00
|
|
|
|
|
|
|
install-data-local:
|
2006-10-30 09:15:30 -08:00
|
|
|
zip -ru0 warzone.wz $(BASELIST) -x *svn* || zip -T warzone.wz
|
|
|
|
cd mp && { zip -ru0 ../mp.wz $(PATCHLIST) -x *svn* || zip -T ../mp.wz ; } && cd ..
|
|
|
|
$(MKDIR_P) $(DESTDIR)$(datadir)/warzone2100
|
|
|
|
$(INSTALL_DATA) $(srcdir)/warzone.wz $(DESTDIR)$(datadir)/warzone2100/warzone.wz
|
|
|
|
$(INSTALL_DATA) $(srcdir)/mp.wz $(DESTDIR)$(datadir)/warzone2100/mp.wz
|
2007-06-28 10:47:08 -07:00
|
|
|
|
|
|
|
uninstall-local:
|
2006-03-11 08:34:18 -08:00
|
|
|
rm -f $(DESTDIR)$(datadir)/warzone.wz
|
2006-06-16 12:10:23 -07:00
|
|
|
rm -f $(DESTDIR)$(datadir)/mp.wz
|
2007-06-28 10:47:08 -07:00
|
|
|
|
|
|
|
clean-local:
|
|
|
|
rm -f warzone.wz
|
2006-06-16 12:10:23 -07:00
|
|
|
rm -f mp.wz
|
2007-06-28 10:47:08 -07:00
|
|
|
|
|
|
|
installcheck:
|
2006-06-11 15:35:16 -07:00
|
|
|
[ -f warzone.wz ] && zip -T warzone.wz
|
2006-06-16 12:10:23 -07:00
|
|
|
[ -f mp.wz ] && zip -T mp.wz
|
2007-06-28 10:47:08 -07:00
|
|
|
|
|
|
|
dist-hook:
|
2006-06-16 14:33:37 -07:00
|
|
|
[ -f gamedesc.lev ] && { zip -ru9 warzone.wz $(BASELIST) -x *svn* || zip -T warzone.wz; }
|
|
|
|
[ -f gamedesc.lev ] && { cd mp && { zip -ru9 ../mp.wz ${PATCHLIST} -x *svn* || zip -T ../mp.wz ; } && cd .. ; }
|
2006-06-16 12:10:23 -07:00
|
|
|
[ -f warzone.wz ] && cp -fu warzone.wz mp.wz $(DESTDIR)$(distdir)
|