sxhkd-rc

[fork] simple X hotkey daemon (but for the rc shell)
Log | Files | Refs | README | LICENSE

commit ddad2ee8345d1ec7242f7c0a8abe2fd7cb0044f0
parent 8433918de3acf026a3c134a63af631e60d76837f
Author: Sören Tempel <soeren+git@soeren-tempel.net>
Date:   Sat, 26 Sep 2015 10:46:07 +0200

Install example files to /usr/share/doc/sxhkd/examples

Diffstat:
MMakefile | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile @@ -10,6 +10,7 @@ LDFLAGS += -L$(PREFIX)/lib PREFIX ?= /usr/local BINPREFIX = $(PREFIX)/bin MANPREFIX = $(PREFIX)/share/man +DOCPREFIX = $(PREFIX)/share/doc/$(NAME) SRC = $(wildcard *.c) OBJ = $(SRC:.c=.o) @@ -36,10 +37,13 @@ install: cp -pf $(NAME) "$(DESTDIR)$(BINPREFIX)" mkdir -p "$(DESTDIR)$(MANPREFIX)"/man1 cp -p doc/$(NAME).1 "$(DESTDIR)$(MANPREFIX)"/man1 + mkdir -p "$(DESTDIR)$(DOCPREFIX)" + cp -pr examples "$(DESTDIR)$(DOCPREFIX)"/examples uninstall: rm -f "$(DESTDIR)$(BINPREFIX)"/$(NAME) rm -f "$(DESTDIR)$(MANPREFIX)"/man1/$(NAME).1 + rm -rf "$(DESTDIR)$(DOCPREFIX)" doc: a2x -v -d manpage -f manpage -a revnumber=$(VERSION) doc/$(NAME).1.txt