summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure12
-rw-r--r--yajl.morph5
2 files changed, 9 insertions, 8 deletions
diff --git a/configure b/configure
index 716e7d1..5383661 100755
--- a/configure
+++ b/configure
@@ -52,26 +52,26 @@ cat > ./Makefile <<EOS
all: distro doc test test-api
distro:
- @cd build && make
+ @cd build && \$(MAKE)
doc:
- @cd build && make doc
+ @cd build && \$(MAKE) doc
test:
- @cd build && make test
+ @cd build && \$(MAKE) test
test-api:
- @cd build && make test-api
+ @cd build && \$(MAKE) test-api
clean:
- @cd build && make clean
+ @cd build && \$(MAKE) clean
distclean:
@rm -rf Makefile build
@rm -f yajl-*.tgz
install: distro doc
- @cd build && make install
+ @cd build && \$(MAKE) install
package: all
@echo \"compressing to $(basename build/yajl-*).tgz\"
diff --git a/yajl.morph b/yajl.morph
index 9222c6d..3fac99d 100644
--- a/yajl.morph
+++ b/yajl.morph
@@ -1,7 +1,8 @@
name: yajl
kind: chunk
-build-system: autotools
configure-commands:
- ./configure -p "$PREFIX"
build-commands:
-- make
+- make distro
+install-commands:
+- make install DESTDIR="$DESTDIR"