diff options
author | Taylor Holberton <taylorcholberton@gmail.com> | 2016-10-02 12:21:46 -0400 |
---|---|---|
committer | Taylor Holberton <taylorcholberton@gmail.com> | 2016-10-02 12:21:46 -0400 |
commit | 9c98337b40c6f085e5f132bf264e23daa72afb74 (patch) | |
tree | cad6ccac0a38e65a0622e02e5d5667141db88ecb | |
parent | a99fefc11dc4fa055d9308b5d08817c6e85dc645 (diff) |
added installation of man pages
-rw-r--r-- | utils/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/utils/Makefile b/utils/Makefile index bbb49b6..3093eee 100644 --- a/utils/Makefile +++ b/utils/Makefile @@ -1,6 +1,7 @@ DESTDIR ?= PREFIX ?= /usr/local BINDIR ?= $(PREFIX)/bin +MANDIR ?= $(PREFIX)/man CROSS_COMPILE ?= CC = $(CROSS_COMPILE)gcc @@ -40,4 +41,9 @@ install: tinyplay tinycap tinymix tinypcminfo cp -u tinycap $(DESTDIR)$(BINDIR)/ cp -u tinymix $(DESTDIR)$(BINDIR)/ cp -u tinypcminfo $(DESTDIR)$(BINDIR)/ + mkdir -p $(DESTDIR)$(MANDIR)/man1 + cp -u tinyplay.1 $(DESTDIR)$(MANDIR)/man1/ + cp -u tinycap.1 $(DESTDIR)$(MANDIR)/man1/ + cp -u tinymix.1 $(DESTDIR)$(MANDIR)/man1/ + cp -u tinypcminfo.1 $(DESTDIR)$(MANDIR)/man1/ |