From e3cbe3883a4d1be6f58b0ac3bea5e0093c856027 Mon Sep 17 00:00:00 2001 From: Nikos Tsipinakis Date: Sun, 11 Dec 2016 13:48:12 +0200 Subject: [PATCH] The manpage should be built to the docs directory In the spirit of keeping everything organised, the compiled docs should be in the same directory as the files used to compile them. --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index e297b2f..fe55411 100644 --- a/Makefile +++ b/Makefile @@ -52,12 +52,12 @@ clean-dunstify: rm -f dunstify clean-doc: - rm -f dunst.1 + rm -f docs/dunst.1 clean: clean-dunst clean-dunstify clean-doc test-clean -doc: dunst.1 -dunst.1: docs/dunst.pod +doc: docs/dunst.1 +docs/dunst.1: docs/dunst.pod pod2man --name=dunst -c "Dunst Reference" --section=1 --release=${VERSION} $< > $@ service: @@ -67,7 +67,7 @@ install-dunst: dunst doc mkdir -p ${DESTDIR}${PREFIX}/bin install -m755 dunst ${DESTDIR}${PREFIX}/bin mkdir -p ${DESTDIR}${MANPREFIX}/man1 - install -m644 dunst.1 ${DESTDIR}${MANPREFIX}/man1 + install -m644 docs/dunst.1 ${DESTDIR}${MANPREFIX}/man1 install-doc: mkdir -p ${DESTDIR}${PREFIX}/share/dunst