summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2007-04-19 16:02:25 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2007-04-19 16:02:25 +0000
commit80779b7ba64997265afd016366c8651150e32059 (patch)
tree87abecbda83372a63d19ce3e5f70b4578b06307d
parentb460017efd9356676831ece5057ad41bd1dd57f7 (diff)
Use ${MAKE} -C instead of make -C
-rw-r--r--Makefile.am2
-rw-r--r--autogen.sh7
2 files changed, 7 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index de17a2172..6fb4646a7 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -15,4 +15,4 @@ dist-hook:
if test -d _darcs; then darcs changes >${distdir}/ChangeLog; fi
check-extra: check
- make -C tests check-extra
+ $(MAKE) -C tests check-extra
diff --git a/autogen.sh b/autogen.sh
index b62152c5c..ad3361a46 100644
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,10 +1,15 @@
#!/bin/sh
set -e
+if test -z "$MAKE"
+then
+ MAKE=make
+fi
+
gtkdocize
( cd lib/spec && sh ../tools/update-spec-gen-am.sh spec-gen.am )
-make -C lib/telepathy-glib -f stable-interfaces.mk _gen/stable-interfaces.txt
+$MAKE -C lib/telepathy-glib -f stable-interfaces.mk _gen/stable-interfaces.txt
( cd lib/telepathy-glib && sh ../tools/update-spec-gen-am.sh _gen/spec-gen.am _gen _gen/stable-interfaces.txt )
autoreconf -i