blob: 155ffe9d5a9fa8de46a8b257ddfd78cd56b8fe84 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
--- Makefile.in.orig 2006-09-06 03:37:33 UTC
+++ Makefile.in
@@ -25,7 +25,7 @@ MYDATADIR = @datadir@/$(PACKAGE)/ruby
DESTDIR =
# Building binaries
-RUNENV = LD_LIBRARY_PATH=.:..:../..:/usr/local/lib
+RUNENV =
@@ -34,15 +34,16 @@ RUNENV = LD_LIBRARY_PATH=.:..:../..:/usr
#================================================================
-all :
- cd depot && [ -f Makefile ] || $(RUNENV) ruby extconf.rb ; $(RUNENV) make
- cd curia && [ -f Makefile ] || $(RUNENV) ruby extconf.rb ; $(RUNENV) make
- cd villa && [ -f Makefile ] || $(RUNENV) ruby extconf.rb ; $(RUNENV) make
- @printf '\n'
- @printf '#================================================================\n'
- @printf '# Ready to install.\n'
- @printf '#================================================================\n'
+all:
+ for d in depot curia villa; do \
+ (cd $$d && ${MAKE} all); \
+ done
+.PHONY: configure
+configure:
+ for d in depot curia villa; do \
+ (cd $$d && ${LOCALBASE}/bin/ruby extconf.rb); \
+ done
clean :
cd depot ; if [ -f Makefile ] ; then $(RUNENV) make -i clean ; fi || true
|