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.
This commit is contained in:
parent
ad6557239a
commit
e3cbe3883a
8
Makefile
8
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user