diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2006-09-28 03:52:47 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2006-09-28 03:52:47 +0000 |
commit | 0cb7959f82c47f9d505d48d6e27641116b8a150d (patch) | |
tree | a25aedda29a6595682b1658eccd2ed8a835b9e88 /packages/linux_make/Makefile | |
parent | 8bf2c6f429657e5806f06242fb6eb5658ef39d1d (diff) |
Makefile tune ups and clean ups, hopefully to allow things to build faster, especially when using make -j
svn path=/trunk/; revision=6040
Diffstat (limited to 'packages/linux_make/Makefile')
-rwxr-xr-x | packages/linux_make/Makefile | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/packages/linux_make/Makefile b/packages/linux_make/Makefile index 1daa4c7d..b0007db0 100755 --- a/packages/linux_make/Makefile +++ b/packages/linux_make/Makefile @@ -5,8 +5,8 @@ CWD := $(shell pwd) DESTDIR = $(CWD)/build/ -cvs_root_dir = $(shell cd $(CWD)/../.. && pwd) -BUILDLAYOUT_DIR = $(shell cd $(CWD)/.. && pwd) +cvs_root_dir := $(shell cd $(CWD)/../.. && pwd) +BUILDLAYOUT_DIR = $(cvs_root_dir)/packages # for command-line UNIX versions, you need to install Pd into the same @@ -42,12 +42,12 @@ DEST_PATHS = BUILDLAYOUT_DIR=$(BUILDLAYOUT_DIR) \ UNAME=$(UNAME) all: - make -C $(packages_src) $(DEST_PATHS) + $(MAKE) -C $(packages_src) $(DEST_PATHS) install: - make -C $(packages_src) $(DEST_PATHS) install - make -C $(packages_src) $(DEST_PATHS) doc_format + $(MAKE) -C $(packages_src) $(DEST_PATHS) install + $(MAKE) -C $(packages_src) $(DEST_PATHS) doc_format @echo " " @echo "linux_make install succeeded!" @@ -111,17 +111,17 @@ installer_clean: #==============================================================================# distclean: clean - make -C $(packages_src) $(DEST_PATHS) distclean + $(MAKE) -C $(packages_src) $(DEST_PATHS) distclean clean: installer_clean - make -C $(packages_src) $(DEST_PATHS) clean + $(MAKE) -C $(packages_src) $(DEST_PATHS) clean test_package: cd /tmp && tar xjf $(DESTDIR)/$(PACKAGE_NAME).tar.bz2 - make -C /tmp/$(PACKAGE_NAME) prefix=/tmp/usr/local install - make -C /tmp/$(PACKAGE_NAME) prefix=/tmp/usr/local uninstall + $(MAKE) -C /tmp/$(PACKAGE_NAME) prefix=/tmp/usr/local install + $(MAKE) -C /tmp/$(PACKAGE_NAME) prefix=/tmp/usr/local uninstall -rmdir /tmp/usr/local -rmdir /tmp/usr -rm -rf -- /tmp/$(PACKAGE_NAME) |