make clean clean cleaner

Green, Paul Paul.Green at stratus.com
Tue Feb 25 13:15:37 GMT 2003


Or maybe that should read "make make clean clean cleaner..."

"make clean" fails to clean up the files that were built by "make
everything" over and above "make all". Hence, this patch to head.  Test here
successfully.

Thanks
PG
--
Paul Green, Senior Technical Consultant,
Stratus Technologies, Maynard, MA USA
Voice: +1 978-461-7557; FAX: +1 978-461-3610
Speaking from Stratus not for Stratus


-------------- next part --------------
diff -urp old/samba/source/Makefile.in new/samba/source/Makefile.in
--- old/samba/source/Makefile.in	Mon Feb 24 13:46:47 2003
+++ new/samba/source/Makefile.in	Mon Feb 24 13:54:05 2003
@@ -126,6 +126,10 @@ TORTURE_PROGS = bin/smbtorture at EXEEXT@ b
 
 BIN_PROGS = $(BIN_PROGS1) $(BIN_PROGS2) $(BIN_PROGS3) @EXTRA_BIN_PROGS@
 
+EVERYTHING_PROGS = bin/debug2html at EXEEXT@ bin/smbfilter at EXEEXT@ bin/talloctort at EXEEXT@
+
+EVERYTHING_SBIN = bin/libsmbclient. at SHLIBEXT@ bin/libsmbclient.a
+
 SHLIBS = @SHLIB_PROGS@ @LIBSMBCLIENT@
 
 SCRIPTS = $(srcdir)/script/smbtar $(srcdir)/script/addtosmbpass $(srcdir)/script/convert_smbpasswd \
@@ -1131,7 +1135,8 @@ TOPFILES=dynconfig.o dynconfig.po
 
 clean: delheaders python_clean
 	-rm -f core */*~ *~ */*.o */*.po */*.po32 */*. at SHLIBEXT@ \
-		$(TOPFILES) $(BIN_PROGS) $(SBIN_PROGS) $(MODULES) $(TORTURE_PROGS) .headers.stamp
+		$(TOPFILES) $(BIN_PROGS) $(SBIN_PROGS) $(MODULES) $(TORTURE_PROGS) \
+		$(EVERYTHING_PROGS) $(EVERYTHING_SBIN) .headers.stamp
 
 # Making this target will just make sure that the prototype files
 # exist, not necessarily that they are up to date.  Since they're
@@ -1221,7 +1226,7 @@ ctags:
 	ctags `find $(srcdir) -name "*.[ch]" | grep -v /CVS/`
 
 realclean: clean delheaders
-	-rm -f config.log $(BIN_PROGS) $(MODULES) $(SBIN_PROGS) bin/.dummy script/findsmb
+	-rm -f config.log bin/.dummy script/findsmb
 
 distclean: realclean
 	-rm -f include/stamp-h


More information about the samba-technical mailing list