Patch #: 62 Type: operational change Priority: none Modification: Add 'make spotless' to delete *.orig files left by patch Submitted: David Hornsby Archived: munnari.OZ.AU mac/cap.patches/cap60.patch062 Application: 'cd cap60; patch -p < cap60.patches/cap60.patch062' Summary: same as clean but also removes *.orig to save space WARNING: Be sure that any local code changes in *.orig files WARNING: anywhere in cap60 are backed up elsewhere! NOTICE: This patch is ineffective until a 'gen.makes' is run. File: Makefile File: etc/Makefile.m4 File: extras/Makefile.m4 File: lib/Makefile.m4 File: lib/afp/Makefile.m4 File: lib/afpc/Makefile.m4 File: lib/cap/Makefile.m4 File: netat/Makefile.m4 File: samples/Makefile.m4 File: applications/Makefile.m4 File: applications/aufs/Makefile.m4 File: applications/lwsrv/Makefile.m4 File: applications/papif/Makefile.m4 File: support/ethertalk/Makefile.m4 File: support/uab/Makefile.m4 File: contrib/Makefile.m4 File: contrib/AppManager/Makefile File: contrib/AsyncATalk/Makefile File: contrib/AufsTools/Makefile File: contrib/MacPS/Makefile File: contrib/Messages/Makefile File: contrib/Timelord/Makefile File: man/makefile File: doc/Makefile *** Makefile.orig Thu Mar 14 17:15:06 1991 --- Makefile Sun Sep 22 15:56:04 1991 *************** *** 70,72 **** --- 70,90 ---- -(cd applications; make clean) -(cd support/uab; make clean) -(cd support/ethertalk; make clean) + + spotless: + -rm -f *.orig + -rm -f m4.tmp + -rm -f libsmade + -rm -f programs + -rm -f libinstall + -(cd netat; make spotless) + -(cd man; make spotless) + -(cd doc; make spotless) + -(cd lib; make spotless) + -(cd etc; make spotless) + -(cd samples; make spotless) + -(cd contrib; make spotless) + -(cd extras; make spotless) + -(cd applications; make spotless) + -(cd support/uab; make spotless) + -(cd support/ethertalk; make spotless) *** applications/Makefile.m4.orig Thu Feb 28 23:44:45 1991 --- applications/Makefile.m4 Sun Sep 22 15:56:08 1991 *************** *** 15,20 **** --- 15,26 ---- -(cd papif; make clean) -(cd aufs; make clean) + spotless: + -rm -f *.orig + -(cd lwsrv; make spotless) + -(cd papif; make spotless) + -(cd aufs; make spotless) + dist: @cat todist @(cd papif; make dist) *** applications/aufs/Makefile.m4.orig Tue May 28 20:13:08 1991 --- applications/aufs/Makefile.m4 Sun Sep 22 15:56:12 1991 *************** *** 75,80 **** --- 75,83 ---- clean: -rm -f *.o aufs sizeserver ${SYMLINKS} + spotless: + -rm -f *.o *.orig aufs sizeserver ${SYMLINKS} + lint: aufs.c $(SRCS) lint aufs.c $(SRCS) *** applications/lwsrv/Makefile.m4.orig Thu Feb 28 23:44:14 1991 --- applications/lwsrv/Makefile.m4 Sun Sep 22 15:56:14 1991 *************** *** 22,27 **** --- 22,30 ---- clean: -rm -f *.o lwsrv att_getopt.c + spotless: + -rm -f *.o *.orig lwsrv att_getopt.c + install: lwsrv -strip lwsrv ifdef([sysvinstall],[install -f $(DESTDIR) lwsrv], *** applications/papif/Makefile.m4.orig Sat Jul 27 22:11:09 1991 --- applications/papif/Makefile.m4 Sun Sep 22 15:56:16 1991 *************** *** 61,66 **** --- 61,69 ---- clean: -rm -f papif papof *.o + spotless: + -rm -f papif papof *.o *.orig + ifelse(os,[hpux],[ install: papif papof -strip papif papof *** contrib/Makefile.m4.orig Sun Sep 22 01:47:40 1991 --- contrib/Makefile.m4 Sun Sep 22 15:56:19 1991 *************** *** 56,61 **** --- 56,70 ---- -(cd Messages; make clean) -(cd Timelord; make clean) + spotless: + -rm -f ${PROGS} *.o *.orig core make.log err att_getopt.c *~ + -(cd AppManager; make spotless) + -(cd AsyncATalk; make spotless) + -(cd AufsTools; make spotless) + -(cd MacPS; make spotless) + -(cd Messages; make spotless) + -(cd Timelord; make spotless) + cleanexe: -rm -f ${PROGS} *** etc/Makefile.m4.orig Thu Feb 28 23:43:48 1991 --- etc/Makefile.m4 Sun Sep 22 15:56:23 1991 *************** *** 36,41 **** --- 36,44 ---- clean: -rm -f atis *.o core att_getopt.c *~ + spotless: + -rm -f atis *.o *.orig core att_getopt.c *~ + dist: @cat todist *** extras/Makefile.m4.orig Thu Feb 28 23:43:54 1991 --- extras/Makefile.m4 Sun Sep 22 15:56:26 1991 *************** *** 23,28 **** --- 23,31 ---- clean: -rm -f ${PROGS} *.o core make.log err *~ + spotless: + -rm -f ${PROGS} *.o *.orig core make.log err *~ + cleanexe: -rm -f ${PROGS} *** lib/Makefile.m4.orig Thu Feb 28 23:43:34 1991 --- lib/Makefile.m4 Sun Sep 22 15:56:28 1991 *************** *** 22,27 **** --- 22,34 ---- -(cd afpc; make clean) ifelse(os,[xenix5],[-(cd xenix; make clean)],[]) + spotless: + -rm -f *.orig + -(cd cap; make spotless) + -(cd afp; make spotless) + -(cd afpc; make spotless) + ifelse(os,[xenix5],[-(cd xenix; make clean)],[]) + dist: @cat todist @(cd cap; make dist) *** lib/afp/Makefile.m4.orig Thu Feb 28 23:43:20 1991 --- lib/afp/Makefile.m4 Sun Sep 22 15:56:30 1991 *************** *** 19,24 **** --- 19,27 ---- clean: -rm -f ${LIBAFPOBJS} ${LIBAFP} core *~ + spotless: + -rm -f ${LIBAFPOBJS} ${LIBAFP} core *~ *.orig + install: $(LIBAFP) ifdef([sysvinstall],[install -f $(DESTDIR) $(LIBAFP)], [${INSTALLER} $(LIBAFP) $(DESTDIR)]) *** lib/afpc/Makefile.m4.orig Thu Feb 28 23:43:26 1991 --- lib/afpc/Makefile.m4 Sun Sep 22 15:56:32 1991 *************** *** 13,18 **** --- 13,21 ---- clean: -rm -f ${LIBAFPCOBJS} ${LIBAFPC} core *~ + spotless: + -rm -f ${LIBAFPCOBJS} ${LIBAFPC} core *~ *.orig + install: $(LIBAFPC) ifdef([sysvinstall],[install -f $(DESTDIR) $(LIBAFPC)], [${INSTALLER} $(LIBAFPC) $(DESTDIR)]) *** lib/cap/Makefile.m4.orig Wed May 8 04:03:49 1991 --- lib/cap/Makefile.m4 Sun Sep 22 16:00:38 1991 *************** *** 35,40 **** --- 35,43 ---- clean: -rm -f *.o *.a core + spotless: + -rm -f *.o *.a *.orig core + install: $(LIBCAP) ifdef([sysvinstall],[install -f $(DESTDIR) $(LIBCAP)], [${INSTALLER} $(LIBCAP) $(DESTDIR)]) *** netat/Makefile.m4.orig Sat Jul 27 21:04:53 1991 --- netat/Makefile.m4 Sun Sep 22 15:57:07 1991 *************** *** 10,12 **** --- 10,15 ---- @cat todist clean: + + spotless: + -rm -f *.orig *** samples/Makefile.m4.orig Sat Jul 27 05:57:32 1991 --- samples/Makefile.m4 Sun Sep 22 15:57:11 1991 *************** *** 99,104 **** --- 99,107 ---- clean: -rm -f ${PROGS} *.o core make.log err *~ att_getopt.c + spotless: + -rm -f ${PROGS} *.o *.orig core make.log err *~ att_getopt.c + cleanexe: -rm -f ${PROGS} *** support/ethertalk/Makefile.m4.orig Sat Jul 27 20:58:48 1991 --- support/ethertalk/Makefile.m4 Sun Sep 22 15:57:18 1991 *************** *** 68,70 **** --- 68,73 ---- clean: rm -f *.o core aarpd aarptest rtmptest + + spotless: + rm -f *.o *.orig core aarpd aarptest rtmptest *** support/uab/Makefile.m4.orig Sat Jul 27 21:00:19 1991 --- support/uab/Makefile.m4 Sun Sep 22 15:57:20 1991 *************** *** 37,42 **** --- 37,45 ---- clean: rm -f *.o uab + spotless: + rm -f *.o *.orig uab + # ddpport.h: mpxddp.h node.h # gw.h: node.h ddport.h (mpxddp.h) # if_desc.h: mpxddp.h *** contrib/AppManager/Makefile.orig Sun Sep 22 01:50:47 1991 --- contrib/AppManager/Makefile Sun Sep 22 15:57:22 1991 *************** *** 8,10 **** --- 8,13 ---- clean: rm -f *.o aufsmon aufslock + + spotless: + rm -f *.o *.orig aufsmon aufslock *** contrib/AsyncATalk/Makefile.orig Thu Feb 28 23:45:21 1991 --- contrib/AsyncATalk/Makefile Sun Sep 22 15:57:24 1991 *************** *** 51,53 **** --- 51,56 ---- clean: rm -f ${PROGS} *.o core make.log err + + spotless: + rm -f ${PROGS} *.o *.orig core make.log err *** contrib/AufsTools/Makefile.orig Tue Feb 26 14:00:55 1991 --- contrib/AufsTools/Makefile Sun Sep 22 15:57:44 1991 *************** *** 23,27 **** --- 23,30 ---- reallyclean: clean rm -f man/formatted/*.1 + spotless: reallyclean + rm -f *.orig */*.orig + format: (cd man; ./makeman) *** contrib/MacPS/Makefile.orig Thu Feb 28 23:45:15 1991 --- contrib/MacPS/Makefile Sun Sep 22 15:57:51 1991 *************** *** 30,32 **** --- 30,35 ---- clean : /bin/rm -f *.o macps prepfix + + spotless : + /bin/rm -f *.o *.orig macps prepfix *** contrib/Messages/Makefile.orig Thu Mar 14 18:27:57 1991 --- contrib/Messages/Makefile Sun Sep 22 15:57:55 1991 *************** *** 42,44 **** --- 42,47 ---- clean: /bin/rm -f *.o core macto macwrite macwall macmail macuser macwho + + spotless: + /bin/rm -f *.o *.orig core macto macwrite macwall macmail macuser macwho *** contrib/Timelord/Makefile.orig Thu Mar 14 18:30:59 1991 --- contrib/Timelord/Makefile Sun Sep 22 15:57:59 1991 *************** *** 11,13 **** --- 11,16 ---- clean: rm -f timelord + + spotless: + rm -f timelord *.orig *** man/makefile.orig Sat Jul 27 21:02:17 1991 --- man/makefile Sun Sep 22 15:58:01 1991 *************** *** 43,45 **** --- 43,48 ---- rm -f papof.8 tlw.1 lwpr.1 isrv.8 iwpr.1 rm -f libcap.3 libafpc.3 libafp.3 rm -f cvt2cap.1 atpinger.1 atlooklws.1 text/* + + spotless: clean + rm -f *.orig *** doc/Makefile.orig Thu Mar 14 17:10:47 1991 --- doc/Makefile Sun Sep 22 15:58:03 1991 *************** *** 6,8 **** --- 6,11 ---- clean: rm -f install.doc + + spotless: + rm -f install.doc *.orig *** README.orig Sun Sep 22 16:05:43 1991 --- README Sun Sep 22 16:06:10 1991 *************** *** 3,9 **** (For use with AppleTalk/Ethernet bridge) o RELEASE NOTES ! o CAP Distribution 6.0, Patch Level 61, September 1991 Introduction ------------ --- 3,9 ---- (For use with AppleTalk/Ethernet bridge) o RELEASE NOTES ! o CAP Distribution 6.0, Patch Level 62, September 1991 Introduction ------------