2007-06-28 10:47:08 -07:00
|
|
|
## Process this file with automake to produce Makefile.in
|
|
|
|
|
2006-06-11 15:35:16 -07:00
|
|
|
ZIPLIST = anims audio components effects features \
|
|
|
|
gamedesc.lev images messages misc mp multiplay novideo.rpl palette.bin script \
|
2007-06-28 10:47:08 -07:00
|
|
|
sequenceaudio stats structs texpages wrf
|
|
|
|
|
|
|
|
install-data-local:
|
2006-06-16 12:10:23 -07:00
|
|
|
[ -f gamedesc.lev ] && { zip -ru9 warzone.wz $(ZIPLIST) -x *svn* || zip -T warzone.wz ; }
|
|
|
|
[ -f gamedesc.lev ] && { cd mp && { zip -ru9 ../mp.wz mp -x *svn* || zip -T ../mp.wz ; } && cd .. ; }
|
2005-12-09 16:49:08 -08:00
|
|
|
[ -d "$(DESTDIR)$(datadir)" ] || $(mkdir_p) "$(DESTDIR)$(datadir)"
|
2006-06-11 15:35:16 -07:00
|
|
|
[ -f warzone.wz ] && $(INSTALL_DATA) warzone.wz $(DESTDIR)$(datadir)/
|
2006-06-16 12:10:23 -07:00
|
|
|
[ -f mp.wz ] && $(INSTALL_DATA) mp.wz $(DESTDIR)$(datadir)/
|
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-11 15:35:16 -07:00
|
|
|
[ -f gamedesc.lev ] && { zip -ru9 warzone.wz $(ZIPLIST) -x *svn* || zip -T warzone.wz; }
|
2006-06-16 12:10:23 -07:00
|
|
|
[ -f gamedesc.lev ] && { cd mp && { zip -ru9 ../mp.wz mp -x *svn* || zip -T ../mp.wz ; } && cd .. ; }
|
|
|
|
[ -f warzone.wz ] && cp -fu warzone.wz mp.wz $(DESTDIR)$(distdir)
|