[Fencommits] fenserve: makefile to automatically run configure when necessary
Benja Fallenstein
benja.fallenstein at gmail.com
Thu Mar 22 19:49:29 EET 2007
Sat Mar 17 16:34:49 EET 2007 Benja Fallenstein <benja.fallenstein at gmail.com>
* makefile to automatically run configure when necessary
diff -rN -u old-fenserve/Makefile new-fenserve/Makefile
--- old-fenserve/Makefile 2007-03-22 19:49:28.000000000 +0200
+++ new-fenserve/Makefile 2007-03-22 19:49:28.000000000 +0200
@@ -1,10 +1,16 @@
+PREFIX=~/inst
+CONFIGURE_OPTS=--user --prefix $(PREFIX)
+
all: build
+.setup-config:
+ runhaskell Setup.hs configure $(CONFIGURE_OPTS)
+
configure:
- runhaskell Setup.hs configure --user --prefix ~/inst
+ runhaskell Setup.hs configure $(CONFIGURE_OPTS)
-build:
+build: .setup-config
runhaskell Setup.hs build
install:
More information about the Fencommits
mailing list