mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-29 14:46:00 +01:00
readd installation of zathurarc.5 and zathura.desktop
This commit is contained in:
parent
b34d21afaf
commit
66e3c65583
1 changed files with 10 additions and 0 deletions
10
Makefile
10
Makefile
|
@ -77,6 +77,13 @@ install: all ${PROJECT}.pc
|
||||||
$(ECHO) installing manual page
|
$(ECHO) installing manual page
|
||||||
$(QUIET)mkdir -p ${DESTDIR}${MANPREFIX}/man1
|
$(QUIET)mkdir -p ${DESTDIR}${MANPREFIX}/man1
|
||||||
$(QUIET)sed "s/VERSION/${VERSION}/g" < ${PROJECT}.1 > ${DESTDIR}${MANPREFIX}/man1/${PROJECT}.1
|
$(QUIET)sed "s/VERSION/${VERSION}/g" < ${PROJECT}.1 > ${DESTDIR}${MANPREFIX}/man1/${PROJECT}.1
|
||||||
|
$(QUIET)if which rst2man > /dev/null ; then \
|
||||||
|
mkdir -p ${DESTDIR}${MANPREFIX}/man5 ; \
|
||||||
|
rst2man ${PROJECT}rc.5.rst > ${DESTDIR}${MANPREFIX}/man5/${PROJECT}rc.5 ; \
|
||||||
|
fi
|
||||||
|
$(QUIET)mkdir -p ${DESTDIR}${DESKTOPPREFIX}
|
||||||
|
$(ECHO) installing desktop file
|
||||||
|
$(QUIET)install -m 644 ${PROJECT}.desktop ${DESTDIR}${DESKTOPPREFIX}
|
||||||
$(QUIET)chmod 644 ${DESTDIR}${MANPREFIX}/man1/${PROJECT}.1
|
$(QUIET)chmod 644 ${DESTDIR}${MANPREFIX}/man1/${PROJECT}.1
|
||||||
$(ECHO) installing pkgconfig file
|
$(ECHO) installing pkgconfig file
|
||||||
$(QUIET)mkdir -p ${DESTDIR}${PREFIX}/lib/pkgconfig
|
$(QUIET)mkdir -p ${DESTDIR}${PREFIX}/lib/pkgconfig
|
||||||
|
@ -90,6 +97,9 @@ uninstall:
|
||||||
$(QUIET)rm -f ${DESTDIR}${PREFIX}/include/${PROJECT}/zathura.h
|
$(QUIET)rm -f ${DESTDIR}${PREFIX}/include/${PROJECT}/zathura.h
|
||||||
$(ECHO) removing manual page
|
$(ECHO) removing manual page
|
||||||
$(QUIET)rm -f ${DESTDIR}${MANPREFIX}/man1/${PROJECT}.1
|
$(QUIET)rm -f ${DESTDIR}${MANPREFIX}/man1/${PROJECT}.1
|
||||||
|
$(QUIET)rm -f ${DESTDIR}${MANPREFIX}/man5/${PROJECT}rc.5
|
||||||
|
$(ECHO) removing desktop file
|
||||||
|
$(QUIET)rm -f ${DESTDIR}${DESKTOPPREFIX}/${PROJECT}.desktop
|
||||||
$(ECHO) removing pkgconfig file
|
$(ECHO) removing pkgconfig file
|
||||||
$(QUIET)rm -f ${DESTDIR}${PREFIX}/lib/pkgconfig
|
$(QUIET)rm -f ${DESTDIR}${PREFIX}/lib/pkgconfig
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue