diff options
author | Ryan Tandy <ryan@nardis.ca> | 2013-12-28 14:59:38 -0800 |
---|---|---|
committer | Ryan Tandy <ryan@nardis.ca> | 2013-12-28 14:59:38 -0800 |
commit | ca40c3725d622270640b3121642cb5febc4e0e87 (patch) | |
tree | 45b9ebbab7825d4bb4b4cdbc31aabad4d74bd122 /Makefile | |
parent | 9f29d8c21dea7357c63b2d2065fc11224ec45a51 (diff) | |
download | mirror-meh-ca40c3725d622270640b3121642cb5febc4e0e87.tar.gz mirror-meh-ca40c3725d622270640b3121642cb5febc4e0e87.tar.bz2 mirror-meh-ca40c3725d622270640b3121642cb5febc4e0e87.zip |
install the man page
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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: |