Vanilla Netrek Server Development Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[VANILLA-L:688] Patches for make patches
I do not know how this patch will effect other make, but I removed the
! -L check in make patches and this work fine.
Here is my patch to make make patches work under Solaris make 3.75.
--
Bob Tanner <tanner@real-time.com> | Phone : 612.943.8700
http://www.real-time.com | Fax : 612.943.8300
Key fingerprint = 6C E9 51 4F D5 3E 4C 66 62 A9 10 E5 35 85 39 D9
*** /usr/local/tmp/Server/Server/Makefile Wed Apr 16 01:00:34 1997
--- ../Server/Makefile Tue Oct 28 19:33:13 1997
***************
*** 141,154 ****
patches: name rmdependencies
cd $(PATCHDIR)/Server; make name
@echo Making Server`name`\-`$(PATCHDIR)/Server/name`.diffs
! -rm Server`name`\-`$(PATCHDIR)/Server/name`.diffs
-for f in `cat manifest` ; do \
- if [ ! -L ../$${f} ] ; then \
if [ ! -f $(PATCHDIR)/$${f} ] ; then \
touch $(PATCHDIR)/$${f} ; \
fi ; \
! diff -c $(PATCHDIR)/$${f} ../$${f} >> Server`name`\-`$(PATCHDIR)/Server/name`.diffs ;\
! fi ; \
done
# for people on dynix, parallel compiling:
--- 141,152 ----
patches: name rmdependencies
cd $(PATCHDIR)/Server; make name
@echo Making Server`name`\-`$(PATCHDIR)/Server/name`.diffs
! -rm -f Server`name`\-`$(PATCHDIR)/Server/name`.diffs
-for f in `cat manifest` ; do \
if [ ! -f $(PATCHDIR)/$${f} ] ; then \
touch $(PATCHDIR)/$${f} ; \
fi ; \
! diff -c $(PATCHDIR)/$${f} ../$${f} >> Server`name`\-`$(PATCHDIR)/Server/name`.diffs ;\
done
Follow-Ups: