diff options
author | Taylor Holberton <taylorcholberton@gmail.com> | 2016-10-02 09:17:01 -0400 |
---|---|---|
committer | Taylor Holberton <taylorcholberton@gmail.com> | 2016-10-02 09:17:01 -0400 |
commit | fa65bc0e5fbf3339cf5b9b7f1dc73957bdc56ed0 (patch) | |
tree | 88cb670ec61661b415414b8b53e980d422197262 /doxygen/Makefile | |
parent | 701e71fb04f0dd3cfba22e0cad212fa7114ad2bb (diff) |
using MANDIR for man pages install
Diffstat (limited to 'doxygen/Makefile')
-rw-r--r-- | doxygen/Makefile | 7 |
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 |