From bb5ca5053a254d9c37cbf94ea6d3533b14036384 Mon Sep 17 00:00:00 2001 From: Sam Hartman Date: Sun, 30 May 2004 22:07:48 +0000 Subject: [PATCH] Improve make distclean to clean up after build --- Makefile.in | 6 +++++- src/afs/Makefile.in | 2 +- src/fsint/Makefile.in | 3 ++- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/Makefile.in b/Makefile.in index b3c925569..e527e57e6 100644 --- a/Makefile.in +++ b/Makefile.in @@ -664,6 +664,7 @@ clean2: -${COMPILE_PART1} rcp ${COMPILE_CLEAN} -${COMPILE_PART1} libafs ${COMPILE_CLEAN} -${COMPILE_PART1} libuafs ${COMPILE_CLEAN} + -${COMPILE_PART1} tests ${COMPILE_CLEAN} -(cd src/libafs; /bin/rm -rf afs afsint config rx) -(cd src/libuafs; /bin/rm -rf afs afsint config rx des) -/bin/rm -rf ${TOP_INCDIR} ${TOP_LIBDIR} ${TOP_JLIBDIR} @@ -772,8 +773,10 @@ distclean: clean src/sia/Makefile \ src/sys/Makefile \ src/tbutc/Makefile \ + src/tests/Makefile \ src/tsm41/Makefile \ src/tviced/Makefile \ + src/tvolser/Makefile \ src/ubik/Makefile \ src/update/Makefile \ src/usd/test/Makefile \ @@ -790,7 +793,8 @@ distclean: clean src/vol/test/Makefile \ src/volser/Makefile \ src/wsadmin.src/Makefile \ - src/xstat/Makefile + src/xstat/Makefile \ + src/helper-splint.sh pristine: distclean /bin/rm -f src/config/afsconfig.h.in configure configure-libafs aclocal.m4 diff --git a/src/afs/Makefile.in b/src/afs/Makefile.in index d31ce8dc5..9a289ef6e 100644 --- a/src/afs/Makefile.in +++ b/src/afs/Makefile.in @@ -55,7 +55,7 @@ install: ${DESTDIR}${includedir}/afs/afs.h ${DESTDIR}${includedir}/afs/osi_in clean: -$(RM) -f *.o core AFS_component_version_number.c afs_trace.h afs_trace.msf afszcm.cat - + -$(RM) -f unified_afs.c unified_afs.h include ../config/Makefile.version ${DEST}/include/afs/afs.h: afs.h ${INSTALL} $? $@ diff --git a/src/fsint/Makefile.in b/src/fsint/Makefile.in index 6903771bf..40cb7dafc 100644 --- a/src/fsint/Makefile.in +++ b/src/fsint/Makefile.in @@ -119,7 +119,8 @@ ${DEST}/include/afs/afsint.h: afsint.h clean: $(RM) -f *.o *.cs.c *.ss.c *.er.c *.a *.xdr.c core \ - afsint.h afscbint.h AFS_component_version_number.c + afsint.h afscbint.h AFS_component_version_number.c \ + Kvice.h Kcallback.h include ../config/Makefile.version -- 2.39.5