aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaylor Holberton <taylorcholberton@gmail.com>2016-10-02 09:17:01 -0400
committerTaylor Holberton <taylorcholberton@gmail.com>2016-10-02 09:17:01 -0400
commitfa65bc0e5fbf3339cf5b9b7f1dc73957bdc56ed0 (patch)
tree88cb670ec61661b415414b8b53e980d422197262
parent701e71fb04f0dd3cfba22e0cad212fa7114ad2bb (diff)
using MANDIR for man pages install
-rw-r--r--doxygen/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/doxygen/Makefile b/doxygen/Makefile
index fb75c02..5f8c5c0 100644
--- a/doxygen/Makefile
+++ b/doxygen/Makefile
@@ -1,5 +1,6 @@
DESTDIR ?=
PREFIX ?= /usr/local
+MANDIR ?= $(PREFIX)/share/man
DOXYGEN ?= doxygen
DOXYGENFLAGS =
@@ -15,7 +16,7 @@ clean:
.PHONY: install
install:
- mkdir -p $(DESTDIR)$(PREFIX)/share/man/man3
- cp -u man/man3/tinyalsa-pcm.3 $(DESTDIR)$(PREFIX)/share/man/man3
- cp -u man/man3/tinyalsa-mixer.3 $(DESTDIR)$(PREFIX)/share/man/man3
+ mkdir -p $(DESTDIR)$(MANDIR)/man3
+ cp -u man/man3/tinyalsa-pcm.3 $(DESTDIR)$(MANDIR)/man3
+ cp -u man/man3/tinyalsa-mixer.3 $(DESTDIR)$(MANDIR)/man3