diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2007-04-19 16:02:25 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2007-04-19 16:02:25 +0000 |
commit | 80779b7ba64997265afd016366c8651150e32059 (patch) | |
tree | 87abecbda83372a63d19ce3e5f70b4578b06307d | |
parent | b460017efd9356676831ece5057ad41bd1dd57f7 (diff) |
Use ${MAKE} -C instead of make -C
-rw-r--r-- | Makefile.am | 2 | ||||
-rw-r--r-- | autogen.sh | 7 |
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 |