[darwinbuild-changes] [446] trunk

source_changes at macosforge.org source_changes at macosforge.org
Sat Dec 20 16:09:52 PST 2008


Revision: 446
          http://trac.macosforge.org/projects/darwinbuild/changeset/446
Author:   wsiegrist at apple.com
Date:     2008-12-20 16:09:50 -0800 (Sat, 20 Dec 2008)
Log Message:
-----------
Fix uninstall targets. Closes #39.

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

Modified: trunk/darwinbuild/Makefile
===================================================================
--- trunk/darwinbuild/Makefile	2008-12-19 21:42:04 UTC (rev 445)
+++ trunk/darwinbuild/Makefile	2008-12-21 00:09:50 UTC (rev 446)
@@ -34,6 +34,7 @@
 
 uninstall:
 	rm -f $(BINDIR)/darwinbuild
+	rm -f $(BINDIR)/darwinmaster
 	rm -f $(DATDIR)/darwinbuild.common
 	rm -f $(DATDIR)/installXcode
 	rm -f $(DATDIR)/installXcode2
@@ -41,7 +42,14 @@
 	rm -f $(DATDIR)/installXcode31
 	rm -f $(DATDIR)/createChroot
 	rm -f $(DATDIR)/manifest
-	-rmdir $(DATDIR)
+	rm -f $(DATDIR)/ditto
+	rm -f $(DATDIR)/buildlist
+	rm -f $(DATDIR)/buildorder
+	rm -f $(DATDIR)/packageRoots
+	rm -f $(DATDIR)/synthfat
+	rm -f $(DATDIR)/thinFile
+	rm -f $(DATDIR)/thinPackages
+	
 
 clean:
 	rm -f manifest

Modified: trunk/darwinup/Makefile
===================================================================
--- trunk/darwinup/Makefile	2008-12-19 21:42:04 UTC (rev 445)
+++ trunk/darwinup/Makefile	2008-12-21 00:09:50 UTC (rev 446)
@@ -11,6 +11,8 @@
 	[ -d $(BINDIR) ] || $(INSTALL) -d $(INSTALL_DIR_FLAGS) $(BINDIR)
 	$(INSTALL) $(INSTALL_EXE_FLAGS) darwinup $(BINDIR)
 
+uninstall:
+	rm -f $(BINDIR)/darwinup	
 
 all: darwinup
 

Modified: trunk/darwinxref/Makefile
===================================================================
--- trunk/darwinxref/Makefile	2008-12-19 21:42:04 UTC (rev 445)
+++ trunk/darwinxref/Makefile	2008-12-21 00:09:50 UTC (rev 446)
@@ -67,7 +67,12 @@
 uninstall:
 	rm -f $(BINDIR)/darwinxref
 	[ ! -d $(DATDIR) ] || ( cd $(DATDIR) && rm -f $(PLUGIN_OBJECTS) )
+	-rmdir $(DATDIR)/plugins
 	-rmdir $(DATDIR)
+	
+	rm -f $(INCDIR)/DBPlugin.h
+	rm -f $(INCDIR)/cfutils.h
+	-rmdir $(INCDIR)
 
 clean:
 	rm -f darwinxref
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/darwinbuild-changes/attachments/20081220/ff70d5a4/attachment.html>


More information about the darwinbuild-changes mailing list