diff --git a/Makefile b/Makefile index 2d37e61..ff99000 100644 --- a/Makefile +++ b/Makefile @@ -2,6 +2,7 @@ CFLAGS?=-Wall -Os LDADD?=`pkg-config --cflags --libs x11 xinerama xft xres` PREFIX?=$(DESTDIR)/usr BINDIR?=$(PREFIX)/bin +MANDIR?=${PREFIX}/share/man all: normal @@ -13,6 +14,7 @@ debug: install: install -Dm 755 simpleswitcher $(BINDIR)/simpleswitcher + install -Dm 644 -t $(MANDIR)/man1 simpleswitcher.1 clean: rm -f simpleswitcher simpleswitcher-debug