diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -1,6 +1,6 @@ # Makefile for catlfish -PREFIX=. +PREFIX=$(PWD) INSTDIR=$(PREFIX)/catlfish build all: @@ -11,11 +11,13 @@ clean: $(MAKE) -C doc $@ release: all - rm -rf $(INSTDIR) mkdir $(INSTDIR) ./makerelease.erl $(INSTDIR) -dist: release +install: release + make -C tools INSTDIR=$(INSTDIR) install + +dist: install (VER=$$(./version.erl) && \ ARCH=$$(uname -sm | sed -e 's/ /-/g') && \ N=catlfish-$${VER}_$${ARCH} && \ |