From ca40c3725d622270640b3121642cb5febc4e0e87 Mon Sep 17 00:00:00 2001 From: Ryan Tandy Date: Sat, 28 Dec 2013 14:59:38 -0800 Subject: install the man page --- Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 3b9a105..40fed53 100644 --- a/Makefile +++ b/Makefile @@ -10,6 +10,8 @@ CLEANFILES := $(CLEANFILES) $(DEPFILES) $(OBJFILES) test/test.o test/test.d test LIBS ?= -lX11 -lXext -ljpeg -lpng -lgif PREFIX ?= /usr/local BINDIR = $(PREFIX)/bin +DATAROOTDIR = $(PREFIX)/share +MANDIR = $(DATAROOTDIR)/man # User configuration CONFIG ?= ../config @@ -33,6 +35,7 @@ test/test: test/test.o $(filter-out src/main.o src/xlib.o, $(OBJFILES)) install: install -Dm 755 meh $(DESTDIR)$(BINDIR)/meh + install -D doc/meh.1 $(DESTDIR)$(MANDIR)/man1/meh.1 # Clean clean: -- cgit v1.2.3