aboutsummaryrefslogtreecommitdiff
path: root/utils/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'utils/Makefile')
-rw-r--r--utils/Makefile6
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/