summaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-01-20 00:14:48 (EST)
committer P. J. McDermott <pjm@nac.net>2012-01-20 00:20:02 (EST)
commitcf47c930398b3095b7487855b14a1ab7f924b82f (patch)
tree9d0c29cc4f6c7315d581bdfcf79bc6b2570ccdf0 /Makefile.in
parent9f273e592a8b8eb77ee03160bca204be9c0ef406 (diff)
Add MANDIR option and macro to build system.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index 298a7ae..0fa8b2f 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -24,6 +24,7 @@ INSTALL = @install@
SRCDIR = @srcdir@
PREFIX = @prefix@
BINDIR = @bindir@
+MANDIR = @mandir@
.PHONY: all
all:
@@ -41,6 +42,8 @@ install: all
@$(INSTALL) -D "$(SRCDIR)/src/oh-installfiles" "$(DESTDIR)/$(BINDIR)/oh-installfiles"
@printf ' INSTALL src/oh-buildopk\n'
@$(INSTALL) -D "$(SRCDIR)/src/oh-buildopk" "$(DESTDIR)/$(BINDIR)/oh-buildopk"
+ @printf ' INSTALL man/opkbuild.1\n'
+ @$(INSTALL) -D "$(SRCDIR)/man/opkbuild.1" "$(DESTDIR)/$(MANDIR)/man1/opkbuild.1"
.PHONY: uninstall
uninstall:
@@ -52,3 +55,5 @@ uninstall:
@rm "$(DESTDIR)/$(BINDIR)/oh-installfiles"
@printf ' RM oh-buildopk\n'
@rm "$(DESTDIR)/$(BINDIR)/oh-buildopk"
+ @printf ' RM opkbuild.1\n'
+ @rm "$(DESTDIR)/$(MANDIR)/man1/opkbuild.1"