Revision
594
Author
wsiegrist@apple.com
Date
2009-10-05 17:55:50 -0700 (Mon, 05 Oct 2009)

Log Message

Build fix. Running make install without first doing make fails to install .so plugins due to $(wildcard) evaluating before the all rule finishes.

Modified Paths

Diff

Modified: trunk/darwinxref/Makefile (593 => 594)


--- trunk/darwinxref/Makefile	2009-10-05 20:36:33 UTC (rev 593)
+++ trunk/darwinxref/Makefile	2009-10-06 00:55:50 UTC (rev 594)
@@ -47,7 +47,7 @@
 
 all: \
 	darwinxref \
-	$(PLUGIN_SOURCES:c=so) \
+	$(PLUGIN_SOURCES:.c=.so) \
 	upgrade_plist \
 	apple_plugins
 
@@ -58,7 +58,7 @@
 
 	[ -d $(DATDIR)/plugins ] || \
 		$(INSTALL) -d $(INSTALL_DIR_FLAGS) $(DATDIR)/plugins
-	$(INSTALL) $(INSTALL_DOC_FLAGS) $(wildcard $(OBJROOT)/plugins/*.so) $(wildcard plugins/*.tcl) $(DATDIR)/plugins
+	$(INSTALL) $(INSTALL_DOC_FLAGS) $(OBJROOT)/plugins/*.so plugins/*.tcl $(DATDIR)/plugins
 
 	[ -d $(INCDIR) ] || \
 		$(INSTALL) -d $(INSTALL_DIR_FLAGS) $(INCDIR)