* Move data/grim to data/mods/global/grim
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2404 4a71c877-e1ca-e34f-864e-861f7616d084master
|
@ -266,6 +266,8 @@ AC_CONFIG_FILES([Makefile
|
||||||
po/Makefile.in
|
po/Makefile.in
|
||||||
icons/Makefile
|
icons/Makefile
|
||||||
data/Makefile
|
data/Makefile
|
||||||
|
data/mods/Makefile
|
||||||
|
data/mods/global/Makefile
|
||||||
nsis/Makefile
|
nsis/Makefile
|
||||||
win32/Makefile
|
win32/Makefile
|
||||||
lib/Makefile
|
lib/Makefile
|
||||||
|
|
|
@ -1,22 +1,22 @@
|
||||||
## Process this file with automake to produce Makefile.in
|
## Process this file with automake to produce Makefile.in
|
||||||
|
|
||||||
|
SUBDIRS = mods
|
||||||
|
|
||||||
BASELIST = anims audio components effects features \
|
BASELIST = anims audio components effects features \
|
||||||
gamedesc.lev images messages misc multiplay novideo.rpl palette.bin script \
|
gamedesc.lev images messages misc multiplay novideo.rpl palette.bin script \
|
||||||
sequenceaudio stats structs texpages wrf locale
|
sequenceaudio stats structs texpages wrf locale
|
||||||
PATCHLIST = addon.lev anims components effects \
|
PATCHLIST = addon.lev anims components effects \
|
||||||
messages multiplay stats structs wrf
|
messages multiplay stats structs wrf
|
||||||
GRIMLIST = components structs texpages wrf
|
|
||||||
|
|
||||||
BASEARCHIVE=warzone.wz
|
BASEARCHIVE=warzone.wz
|
||||||
PATCHARCHIVE=mp.wz
|
PATCHARCHIVE=mp.wz
|
||||||
GRIMARCHIVE=grim.wz
|
|
||||||
|
|
||||||
CLEANFILES=$(BASEARCHIVE) $(PATCHARCHIVE) $(GRIMARCHIVE)
|
CLEANFILES=$(BASEARCHIVE) $(PATCHARCHIVE)
|
||||||
|
|
||||||
# Remove this line when Automake 1.10 becomes standard
|
# Remove this line when Automake 1.10 becomes standard
|
||||||
MKDIR_P=$(mkdir_p)
|
MKDIR_P=$(mkdir_p)
|
||||||
|
|
||||||
data: $(BASEARCHIVE) $(PATCHARCHIVE) $(GRIMARCHIVE)
|
data: $(BASEARCHIVE) $(PATCHARCHIVE)
|
||||||
|
|
||||||
$(BASEARCHIVE): $(BASELIST)
|
$(BASEARCHIVE): $(BASELIST)
|
||||||
zip -ru0 $@ $(BASELIST) -x *svn*
|
zip -ru0 $@ $(BASELIST) -x *svn*
|
||||||
|
@ -26,28 +26,19 @@ $(PATCHARCHIVE): $(PATCHLIST:%=mp/%)
|
||||||
cd mp && zip -ru0 ../$@ $(PATCHLIST) -x *svn*
|
cd mp && zip -ru0 ../$@ $(PATCHLIST) -x *svn*
|
||||||
zip -T $@
|
zip -T $@
|
||||||
|
|
||||||
$(GRIMARCHIVE): $(GRIMLIST:%=grim/%)
|
install-data-local: $(BASEARCHIVE) $(PATCHARCHIVE)
|
||||||
cd grim && zip -ru0 ../$@ $(GRIMLIST) -x *svn*
|
|
||||||
zip -T $@
|
|
||||||
|
|
||||||
install-data-local: $(BASEARCHIVE) $(PATCHARCHIVE) $(GRIMARCHIVE)
|
|
||||||
$(MKDIR_P) $(DESTDIR)$(pkgdatadir)
|
$(MKDIR_P) $(DESTDIR)$(pkgdatadir)
|
||||||
$(INSTALL_DATA) $(srcdir)/$(BASEARCHIVE) $(DESTDIR)$(pkgdatadir)/$(BASEARCHIVE)
|
$(INSTALL_DATA) $(srcdir)/$(BASEARCHIVE) $(DESTDIR)$(pkgdatadir)/$(BASEARCHIVE)
|
||||||
$(INSTALL_DATA) $(srcdir)/$(PATCHARCHIVE) $(DESTDIR)$(pkgdatadir)/$(PATCHARCHIVE)
|
$(INSTALL_DATA) $(srcdir)/$(PATCHARCHIVE) $(DESTDIR)$(pkgdatadir)/$(PATCHARCHIVE)
|
||||||
$(INSTALL) -d $(DESTDIR)$(pkgdatadir)/mods/global
|
|
||||||
$(INSTALL_DATA) $(srcdir)/$(GRIMARCHIVE) $(DESTDIR)$(pkgdatadir)/mods/global/$(GRIMARCHIVE)
|
|
||||||
|
|
||||||
uninstall-local:
|
uninstall-local:
|
||||||
rm -f $(DESTDIR)$(pkgdatadir)/$(BASEARCHIVE)
|
rm -f $(DESTDIR)$(pkgdatadir)/$(BASEARCHIVE)
|
||||||
rm -f $(DESTDIR)$(pkgdatadir)/$(PATCHARCHIVE)
|
rm -f $(DESTDIR)$(pkgdatadir)/$(PATCHARCHIVE)
|
||||||
rm -f $(DESTDIR)$(pkgdatadir)/mods/global/$(GRIMARCHIVE)
|
|
||||||
|
|
||||||
installcheck:
|
installcheck:
|
||||||
[ -f $(BASEARCHIVE) ] && zip -T $(BASEARCHIVE)
|
[ -f $(BASEARCHIVE) ] && zip -T $(BASEARCHIVE)
|
||||||
[ -f $(PATCHARCHIVE) ] && zip -T $(PATCHARCHIVE)
|
[ -f $(PATCHARCHIVE) ] && zip -T $(PATCHARCHIVE)
|
||||||
[ -f $(GRIMARCHIVE) ] && zip -T $(GRIMARCHIVE)
|
|
||||||
|
|
||||||
dist-hook: $(BASEARCHIVE) $(PATCHARCHIVE)
|
dist-hook: $(BASEARCHIVE) $(PATCHARCHIVE)
|
||||||
cp -fu $(BASEARCHIVE) $(DESTDIR)$(distdir)
|
cp -fu $(BASEARCHIVE) $(DESTDIR)$(distdir)
|
||||||
cp -fu $(PATCHARCHIVE) $(DESTDIR)$(distdir)
|
cp -fu $(PATCHARCHIVE) $(DESTDIR)$(distdir)
|
||||||
cp -fu $(GRIMARCHIVE) $(DESTDIR)$(distdir)
|
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
SUBDIRS=mods
|
||||||
|
|
||||||
|
$(SUBDIRS):
|
||||||
|
$(MAKE) -f Makefile.raw -C $@ $(MAKECMDGOALS)
|
||||||
|
|
||||||
MAKERULES=../makerules
|
MAKERULES=../makerules
|
||||||
include $(MAKERULES)/configure.mk
|
include $(MAKERULES)/configure.mk
|
||||||
|
|
||||||
|
@ -6,15 +11,13 @@ BASELIST = anims audio components effects features \
|
||||||
script sequenceaudio stats structs texpages wrf
|
script sequenceaudio stats structs texpages wrf
|
||||||
PATCHLIST = addon.lev anims components effects \
|
PATCHLIST = addon.lev anims components effects \
|
||||||
messages multiplay stats structs wrf
|
messages multiplay stats structs wrf
|
||||||
GRIMLIST = components structs texpages wrf
|
|
||||||
|
|
||||||
BASEARCHIVE=warzone.wz
|
BASEARCHIVE=warzone.wz
|
||||||
PATCHARCHIVE=mp.wz
|
PATCHARCHIVE=mp.wz
|
||||||
GRIMARCHIVE=grim.wz
|
|
||||||
|
|
||||||
all:
|
all:
|
||||||
ifdef DATA
|
ifdef DATA
|
||||||
all: $(BASEARCHIVE) $(PATCHARCHIVE) $(GRIMARCHIVE)
|
all: $(BASEARCHIVE) $(PATCHARCHIVE) $(SUBDIRS)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
$(BASEARCHIVE): $(BASELIST)
|
$(BASEARCHIVE): $(BASELIST)
|
||||||
|
@ -25,11 +28,8 @@ $(PATCHARCHIVE): $(PATCHLIST:%=mp/%)
|
||||||
cd mp && zip -ru0 ../$@ $(PATCHLIST) -x *svn*
|
cd mp && zip -ru0 ../$@ $(PATCHLIST) -x *svn*
|
||||||
zip -T $@
|
zip -T $@
|
||||||
|
|
||||||
$(GRIMARCHIVE): $(GRIMLIST:%=grim/%)
|
clean: $(SUBDIRS)
|
||||||
cd grim && zip -ru0 ../$@ $(GRIMLIST) -x *svn*
|
|
||||||
zip -T $@
|
|
||||||
|
|
||||||
clean:
|
|
||||||
$(RMF) $(BASEARCHIVE)
|
$(RMF) $(BASEARCHIVE)
|
||||||
$(RMF) $(PATCHARCHIVE)
|
$(RMF) $(PATCHARCHIVE)
|
||||||
$(RMF) $(GRIMARCHIVE)
|
|
||||||
|
.PHONY: all clean $(SUBDIRS)
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
SUBDIRS = global
|
|
@ -0,0 +1,8 @@
|
||||||
|
SUBDIRS=global
|
||||||
|
|
||||||
|
all clean: $(SUBDIRS)
|
||||||
|
|
||||||
|
$(SUBDIRS):
|
||||||
|
$(MAKE) -f Makefile.raw -C $@ $(MAKECMDGOALS)
|
||||||
|
|
||||||
|
.PHONY: all clean $(SUBDIRS)
|
|
@ -0,0 +1,29 @@
|
||||||
|
## Process this file with automake to produce Makefile.in
|
||||||
|
|
||||||
|
GRIMLIST = components structs texpages wrf
|
||||||
|
|
||||||
|
GRIMARCHIVE=grim.wz
|
||||||
|
|
||||||
|
CLEANFILES=$(GRIMARCHIVE)
|
||||||
|
|
||||||
|
# Remove this line when Automake 1.10 becomes standard
|
||||||
|
MKDIR_P=$(mkdir_p)
|
||||||
|
|
||||||
|
data: $(GRIMARCHIVE)
|
||||||
|
|
||||||
|
$(GRIMARCHIVE): $(GRIMLIST:%=grim/%)
|
||||||
|
cd grim && zip -ru0 ../$@ $(GRIMLIST) -x *svn*
|
||||||
|
zip -T $@
|
||||||
|
|
||||||
|
install-data-local: $(GRIMARCHIVE)
|
||||||
|
$(MKDIR_P) $(DESTDIR)$(pkgdatadir)/mods/global
|
||||||
|
$(INSTALL_DATA) $(srcdir)/$(GRIMARCHIVE) $(DESTDIR)$(pkgdatadir)/mods/global/$(GRIMARCHIVE)
|
||||||
|
|
||||||
|
uninstall-local:
|
||||||
|
rm -f $(DESTDIR)$(pkgdatadir)/mods/global/$(GRIMARCHIVE)
|
||||||
|
|
||||||
|
installcheck:
|
||||||
|
[ -f $(GRIMARCHIVE) ] && zip -T $(GRIMARCHIVE)
|
||||||
|
|
||||||
|
dist-hook: $(BASEARCHIVE) $(PATCHARCHIVE)
|
||||||
|
cp -fu $(GRIMARCHIVE) $(DESTDIR)$(distdir)
|
|
@ -0,0 +1,18 @@
|
||||||
|
MAKERULES=../../../makerules
|
||||||
|
include $(MAKERULES)/configure.mk
|
||||||
|
|
||||||
|
GRIMLIST = components structs texpages wrf
|
||||||
|
|
||||||
|
GRIMARCHIVE=grim.wz
|
||||||
|
|
||||||
|
all:
|
||||||
|
ifdef DATA
|
||||||
|
all: $(GRIMARCHIVE)
|
||||||
|
endif
|
||||||
|
|
||||||
|
$(GRIMARCHIVE): $(GRIMLIST:%=grim/%)
|
||||||
|
cd grim && zip -ru0 ../$@ $(GRIMLIST) -x *svn*
|
||||||
|
zip -T $@
|
||||||
|
|
||||||
|
clean:
|
||||||
|
$(RMF) $(GRIMARCHIVE)
|
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 38 KiB |
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 25 KiB |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 41 KiB |
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 37 KiB |
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 33 KiB |
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 33 KiB |
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 33 KiB |
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 40 KiB |
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 42 KiB |
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 33 KiB |
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 33 KiB |
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 42 KiB |
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 39 KiB |
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 33 KiB |
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 41 KiB |
Before Width: | Height: | Size: 501 B After Width: | Height: | Size: 501 B |
Before Width: | Height: | Size: 944 B After Width: | Height: | Size: 944 B |
Before Width: | Height: | Size: 43 KiB After Width: | Height: | Size: 43 KiB |
Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 39 KiB |