Changed file paths to use relative names in manpage Makefile target

This commit is contained in:
somers-all-the-time 2019-01-29 11:23:55 -06:00
parent 6c60608771
commit e01aa67592
1 changed files with 4 additions and 4 deletions

View File

@ -122,16 +122,16 @@ uninstall_udev:
rm -f ${DESTDIR}/${UDEV_RULES_DIR}/40-monitor-hotplug.rules
# Rules for manpage
MANPAGES_DIR:=/usr/share/man/man1
MANDIR:=${PREFIX}/share/man/man1
DEFAULT_TARGETS+=manpage
install_manpage:
mkdir -p ${MANPAGES_DIR}
cp autorandr.1 ${MANPAGES_DIR}
mkdir -p ${DESTDIR}/${MANDIR}
cp autorandr.1 ${DESTDIR}/${MANDIR}
mandb -qp
uninstall_manpage:
rm -f ${MANPAGES_DIR}/autorandr.1
rm -f ${DESTDIR}/${MANDIR}/autorandr.1
mandb -q
TARGETS=$(DEFAULT_TARGETS)