[grits] Update plugins folder symlink



commit ccacea7801348ea9a8f408f929c11fded4e8b211
Author: Andy Spencer <andy753421 gmail com>
Date:   Tue Jan 3 01:03:12 2012 +0000

    Update plugins folder symlink

 src/Makefile.am |   14 ++++++++------
 1 files changed, 8 insertions(+), 6 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index ef221dd..d53cc25 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -82,18 +82,20 @@ BUILT_SOURCES = grits-marshal.c grits-marshal.h
 	glib-genmarshal --prefix=grits_cclosure_marshal --header $< > $@
 
 # Debugging rules
-test: all .libs/$(GRITS_SUBDIR)
+BUILT_SOURCES += .libs/$(GRITS_SUBDIR)
+
+.libs/$(GRITS_SUBDIR): plugins/.libs
+	ln -sf ../$< $@
+
+test: all
 	./grits-test
 
-gdb: all .libs/$(GRITS_SUBDIR)
+gdb: all
 	gdb ./grits-test
 
-ddd: all .libs/$(GRITS_SUBDIR)
+ddd: all
 	ddd ./grits-test
 
-.libs/$(GRITS_SUBDIR): plugins/.libs
-	ln -sf ../plugins/.libs .libs/$(GRITS_SUBDIR)
-
 memcheck: all
 	G_SLICE=always-malloc                   \
 	G_DEBUG=gc-friendly,resident-modules    \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]