* Don't use "touch" on Windows, as Windows doesn't have that command

- Instead use "echo file > file"

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6927 4a71c877-e1ca-e34f-864e-861f7616d084
master
Giel van Schijndel 2009-03-30 09:27:25 +00:00 committed by Git SVN Gateway
parent 0644e25415
commit 54abb2ad7c
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ all: $(AIVOLUTIONARCHIVE) $(GRIMARCHIVE) $(NEWST_TILESARCHIVE)
endif
stamp:
touch stamp
echo stamp > stamp
$(AIVOLUTIONARCHIVE): $(basename $(AIVOLUTIONARCHIVE)) stamp $(patsubst %,$(basename $(AIVOLUTIONARCHIVE))/%,$(AIVOLUTIONLIST))
(cd $< && zip -ru0 $@ $(filter-out stamp,$(filter-out $<,$(^:$</%=%))) -x '*svn*' || [ $$? -eq 12 ] && true) # zip returns 12 on "nothing to do"

View File

@ -30,7 +30,7 @@ all: $(NTWARCHIVE)
endif
stamp:
touch stamp
echo stamp > stamp
$(NTWARCHIVE): $(basename $(NTWARCHIVE)) stamp $(patsubst %,$(basename $(NTWARCHIVE))/%,$(NTWLIST))
(cd $< && zip -ru0 $@ $(filter-out stamp,$(filter-out $<,$(^:$</%=%))) -x '*svn*' || [ $$? -eq 12 ] && true) # zip returns 12 on "nothing to do"