projects
/
drupal-init-tools.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
create-profile.sh: use a variable for the profile destination directory
[drupal-init-tools.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
49a32a6
..
67c8d6f
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-5,7
+5,7
@@
LIBEXEC_DIR ?= $(prefix)/share/drin/libexec
BIN_DIR := $(prefix)/bin
MAN_DIR := $(prefix)/share/man
BIN_DIR := $(prefix)/bin
MAN_DIR := $(prefix)/share/man
-.PHONY: all local installdocs install clean
+.PHONY: all local
docs
installdocs install clean
all: drin
all: drin
@@
-18,7
+18,9
@@
local: LIBEXEC_DIR := $(PWD)/libexec
local: clean drin
touch drin.in
local: clean drin
touch drin.in
-installdocs: drin.1
+docs: drin.1
+
+installdocs: docs
install -d $(DESTDIR)$(MAN_DIR)/man1
install -m644 drin.1 $(DESTDIR)$(MAN_DIR)/man1
install -d $(DESTDIR)$(MAN_DIR)/man1
install -m644 drin.1 $(DESTDIR)$(MAN_DIR)/man1