Skip to content

Commit

Permalink
Merge pull request dlang#87 from MartinNowak/installDir
Browse files Browse the repository at this point in the history
use INSTALL_DIR like all the other DPL projects
  • Loading branch information
andralex committed Dec 27, 2013
2 parents de6f635 + c4ea975 commit 726d399
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions posix.mak
@@ -1,6 +1,6 @@
DMD ?= dmd
CC ?= gcc
PREFIX ?= /usr/local/bin
INSTALL_DIR = ../install

WITH_DOC ?= no
DOC ?= ../dlang.org/web
Expand Down Expand Up @@ -106,8 +106,8 @@ $(ROOT)/dman: $(TAGS) $(PHOBOS_TAGS)
$(ROOT)/dman: DFLAGS += -J.

install: $(TOOLS) $(CURL_TOOLS)
install -d $(DESTDIR)$(PREFIX)
install -t $(DESTDIR)$(PREFIX) $(^)
mkdir -p $(INSTALL_DIR)/bin
cp -u $^ $(INSTALL_DIR)/bin

clean:
rm -f $(ROOT)/dustmite $(TOOLS) $(CURL_TOOLS) $(DOC_TOOLS) $(TAGS) *.o $(ROOT)/*.o
Expand Down

0 comments on commit 726d399

Please sign in to comment.