[darwinbuild-changes] [97] trunk

source_changes at macosforge.org source_changes at macosforge.org
Wed Oct 4 01:45:36 PDT 2006


Revision: 97
          http://trac.macosforge.org/projects/darwinbuild/changeset/97
Author:   kevin
Date:     2006-10-04 01:45:36 -0700 (Wed, 04 Oct 2006)

Log Message:
-----------
- fixed up the uninstall target

Modified Paths:
--------------
    trunk/Makefile
    trunk/darwinbuild/Makefile
    trunk/darwintrace/Makefile
    trunk/darwinxref/Makefile

Modified: trunk/Makefile
===================================================================
--- trunk/Makefile	2005-07-26 00:47:29 UTC (rev 96)
+++ trunk/Makefile	2006-10-04 08:45:36 UTC (rev 97)
@@ -24,3 +24,17 @@
 
 darwintrace-install:
 	@make -C darwintrace install
+
+uninstall: darwinbuild-uninstall \
+	darwinxref-uninstall \
+	darwintrace-uninstall
+
+darwinbuild-uninstall:
+	@make -C darwinbuild uninstall
+
+darwinxref-uninstall:
+	@make -C darwinxref uninstall
+
+darwintrace-uninstall:
+	@make -C darwintrace uninstall
+

Modified: trunk/darwinbuild/Makefile
===================================================================
--- trunk/darwinbuild/Makefile	2005-07-26 00:47:29 UTC (rev 96)
+++ trunk/darwinbuild/Makefile	2006-10-04 08:45:36 UTC (rev 97)
@@ -24,4 +24,4 @@
 	rm -f $(DATDIR)/darwinbuild.common
 	rm -f $(DATDIR)/installXcodebuild
 	rm -f $(DATDIR)/manifest
-	rmdir $(DATDIR)
+	-rmdir $(DATDIR)

Modified: trunk/darwintrace/Makefile
===================================================================
--- trunk/darwintrace/Makefile	2005-07-26 00:47:29 UTC (rev 96)
+++ trunk/darwintrace/Makefile	2006-10-04 08:45:36 UTC (rev 97)
@@ -26,4 +26,4 @@
 
 uninstall:
 	rm -f $(DATDIR)/darwintrace.dylib
-	rmdir $(DATDIR)
+	-rmdir $(DATDIR)

Modified: trunk/darwinxref/Makefile
===================================================================
--- trunk/darwinxref/Makefile	2005-07-26 00:47:29 UTC (rev 96)
+++ trunk/darwinxref/Makefile	2006-10-04 08:45:36 UTC (rev 97)
@@ -55,7 +55,8 @@
 
 uninstall:
 	rm -f $(BINDIR)/darwinxref
-	rm -rf $(DATDIR)/plugins
+	[ ! -d $(DATDIR) ] || ( cd $(DATDIR) && rm -f $(PLUGIN_OBJECTS) )
+	-rmdir $(DATDIR)
 
 clean:
 	rm -f darwinxref

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/darwinbuild-changes/attachments/20061004/5028f3d4/attachment-0001.html


More information about the darwinbuild-changes mailing list