mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-29 12:55:59 +01:00
'make uninstall' should remove /usr/include/zathura
Signed-off-by: Pavel Borzenkov <pavel.borzenkov@gmail.com> Signed-off-by: Sebastian Ramacher <s.ramacher@gmx.at>
This commit is contained in:
parent
ab60625531
commit
e3b80cb37f
1 changed files with 5 additions and 6 deletions
11
Makefile
11
Makefile
|
@ -83,11 +83,11 @@ install: all ${PROJECT}.pc
|
||||||
$(ECHO) installing executable file
|
$(ECHO) installing executable file
|
||||||
$(QUIET)mkdir -p ${DESTDIR}${PREFIX}/bin
|
$(QUIET)mkdir -p ${DESTDIR}${PREFIX}/bin
|
||||||
$(QUIET)install -m 755 ${PROJECT} ${DESTDIR}${PREFIX}/bin
|
$(QUIET)install -m 755 ${PROJECT} ${DESTDIR}${PREFIX}/bin
|
||||||
$(ECHO) installing header file
|
$(ECHO) installing header files
|
||||||
$(QUIET)mkdir -p ${DESTDIR}${PREFIX}/include/${PROJECT}
|
$(QUIET)mkdir -p ${DESTDIR}${PREFIX}/include/${PROJECT}
|
||||||
$(QUIET)cp -f document.h ${DESTDIR}${PREFIX}/include/${PROJECT}
|
$(QUIET)cp -f document.h ${DESTDIR}${PREFIX}/include/${PROJECT}
|
||||||
$(QUIET)cp -f zathura.h ${DESTDIR}${PREFIX}/include/${PROJECT}
|
$(QUIET)cp -f zathura.h ${DESTDIR}${PREFIX}/include/${PROJECT}
|
||||||
$(ECHO) installing manual page
|
$(ECHO) installing manual pages
|
||||||
$(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 \
|
$(QUIET)if which rst2man > /dev/null ; then \
|
||||||
|
@ -105,10 +105,9 @@ install: all ${PROJECT}.pc
|
||||||
uninstall:
|
uninstall:
|
||||||
$(ECHO) removing executable file
|
$(ECHO) removing executable file
|
||||||
$(QUIET)rm -f ${DESTDIR}${PREFIX}/bin/${PROJECT}
|
$(QUIET)rm -f ${DESTDIR}${PREFIX}/bin/${PROJECT}
|
||||||
$(ECHO) removing header file
|
$(ECHO) removing header files
|
||||||
$(QUIET)rm -f ${DESTDIR}${PREFIX}/include/${PROJECT}/document.h
|
$(QUIET)rm -rf ${DESTDIR}${PREFIX}/include/${PROJECT}
|
||||||
$(QUIET)rm -f ${DESTDIR}${PREFIX}/include/${PROJECT}/zathura.h
|
$(ECHO) removing manual pages
|
||||||
$(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
|
$(QUIET)rm -f ${DESTDIR}${MANPREFIX}/man5/${PROJECT}rc.5
|
||||||
$(ECHO) removing desktop file
|
$(ECHO) removing desktop file
|
||||||
|
|
Loading…
Reference in a new issue