* 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-861f7616d084master
parent
0644e25415
commit
54abb2ad7c
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue