~mdw
/
sgt
/
utils
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
I don't usually _install_ my own utilities, as such; I tend to just
[sgt/utils]
/
nntpid
/
Makefile
diff --git
a/nntpid/Makefile
b/nntpid/Makefile
index
6dfb875
..
e83d80a
100644
(file)
--- a/
nntpid/Makefile
+++ b/
nntpid/Makefile
@@
-5,6
+5,9
@@
DESTDIR = .
PREFIX = /usr/local
BINDIR = $(PREFIX)/bin
MANDIR = $(PREFIX)/man/man1
PREFIX = /usr/local
BINDIR = $(PREFIX)/bin
MANDIR = $(PREFIX)/man/man1
+INSTALL = install
+IPROG =# flags for installing programs (default none)
+IDATA = -m 0644 # flags for installing data
all: nntpid.1
all: nntpid.1
@@
-28,6
+31,6
@@
release: nntpid.1
install: nntpid.1
mkdir -p $(BINDIR)
install: nntpid.1
mkdir -p $(BINDIR)
-
install
nntpid $(BINDIR)/nntpid
+
$(INSTALL) $(IPROG)
nntpid $(BINDIR)/nntpid
mkdir -p $(MANDIR)
mkdir -p $(MANDIR)
-
install -m 0644
nntpid.1 $(MANDIR)/nntpid.1
+
$(INSTALL) $(IDATA)
nntpid.1 $(MANDIR)/nntpid.1