Exclude the Makefiles from base.wz and mp.wz for the Windows raw Makefile build system as well
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6328 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
db0253a0d8
commit
879f129703
|
@ -54,12 +54,12 @@ stamp:
|
|||
echo > stamp
|
||||
|
||||
$(BASEARCHIVE): $(basename $(BASEARCHIVE)) stamp $(patsubst %,$(basename $(BASEARCHIVE))/%,$(BASELIST))
|
||||
(cd $< && zip -ru0 $@ $(filter-out stamp,$(filter-out $<,$(^:$</%=%))) -x '*svn*' || [ $$? -eq 12 ] && true) # zip returns 12 on "nothing to do"
|
||||
(cd $< && zip -ru0 $@ $(filter-out stamp,$(filter-out $<,$(^:$</%=%))) -x '*svn*' -x '*Makefile*' || [ $$? -eq 12 ] && true) # zip returns 12 on "nothing to do"
|
||||
zip -T $@
|
||||
$(RM_F) stamp
|
||||
|
||||
$(PATCHARCHIVE): $(basename $(BASEARCHIVE)) stamp $(patsubst %,$(basename $(PATCHARCHIVE))/%,$(PATCHLIST))
|
||||
(cd $< && zip -ru0 $@ $(filter-out stamp,$(filter-out $<,$(^:$</%=%))) -x '*svn*' || [ $$? -eq 12 ] && true) # zip returns 12 on "nothing to do"
|
||||
(cd $< && zip -ru0 $@ $(filter-out stamp,$(filter-out $<,$(^:$</%=%))) -x '*svn*' -x '*Makefile*' || [ $$? -eq 12 ] && true) # zip returns 12 on "nothing to do"
|
||||
zip -T $@
|
||||
$(RM_F) stamp
|
||||
|
||||
|
|
Loading…
Reference in New Issue