diff --git a/src/External/aslookup-beta0.13d/Makefile b/src/External/aslookup-beta0.13d/Makefile index a8e00f9..fe1e39f 100644 --- a/src/External/aslookup-beta0.13d/Makefile +++ b/src/External/aslookup-beta0.13d/Makefile @@ -23,10 +23,9 @@ SHELL =/bin/sh .SUFFIXES: .c .o CC = gcc - -BINDIR =/usr/local/bin - -MANDIR =/usr/local/man/man1 +DESTDIR = /usr/local/ +BINDIR =$(DESTDIR)bin +MANDIR =$(DESTDIR)man/man1 # TARFILE = $(PROGS)-$(VERSION).tar.gz # DISTDIR = $(PROGS)-$(VERSION) @@ -63,7 +62,8 @@ depend: install: @echo "Installing aslookup ..." - $(INSTALLCMD) -c -m 4555 -o root -g bin $(PROGS) $(BINDIR)/ + mkdir -p $(BINDIR) + $(INSTALLCMD) -m 4555 -o root -g bin $(PROGS) $(BINDIR)/ @echo "done" clean:; rm -f $(OFILES) $(PROGS)