Author: miguel
Date: 2006-12-31 17:36:38 -0500 (Sun, 31 Dec 2006)
New Revision: 70296
Modified:
trunk/olive/scripts/Makefile
Log:
Fix Makefile
Modified: trunk/olive/scripts/Makefile
===================================================================
--- trunk/olive/scripts/Makefile 2006-12-31 21:21:07 UTC (rev 70295)
+++ trunk/olive/scripts/Makefile 2006-12-31 22:36:38 UTC (rev 70296)
@@ -1,3 +1,6 @@
+thisdir = scripts
+include ../build/rules.make
+
bin_SCRIPTS = \
$(scripts_3_0)
@@ -34,14 +37,16 @@
REWRITE3_DEBUG = $(REWRITE_DEBUG) -e 's,@''framework_version@,3.0,g'
.PHONY: $(scripts_3_0)
-all $(scripts_3_0): script.in Makefile
+all-local: $(scripts_3_0)
+
+$(scripts_3_0): script.in Makefile
n=`echo $@ | sed 's,2$$,,'`; \
$(REWRITE3) -e "s,@""exe_name@,$$n,g" script.in > [EMAIL PROTECTED]
mv [EMAIL PROTECTED] $@
-install:
+install-local:
cp $(scripts_3_0) $(prefix)/bin
-clean:
+clean-local:
rm -f $(scripts_3_0)
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches