mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-11 01:43:47 +01:00
Added install/uninstall targets for plugins
This commit is contained in:
parent
dc660d2c56
commit
4eabd47949
2
Makefile
2
Makefile
@ -68,9 +68,11 @@ install: all
|
||||
@mkdir -p ${DESTDIR}${MANPREFIX}/man1
|
||||
@sed "s/VERSION/${VERSION}/g" < ${PROJECT}.1 > ${DESTDIR}${MANPREFIX}/man1/${PROJECT}.1
|
||||
@chmod 644 ${DESTDIR}${MANPREFIX}/man1/${PROJECT}.1
|
||||
@make -C ft install
|
||||
|
||||
uninstall:
|
||||
@echo removing executable file
|
||||
@rm -f ${DESTDIR}${MANPREFIX}/bin/${PROJECT}
|
||||
@echo removing manual page
|
||||
@rm -f ${DESTDIR}${MANPREFIX}/man1/${PROJECT}.1
|
||||
@make -C ft uninstall
|
||||
|
@ -39,3 +39,13 @@ clean:
|
||||
@rm -rf ${OBJECTS} ${DOBJECTS} $(PLUGIN).so
|
||||
|
||||
debug: options ${PLUGIN}-debug
|
||||
|
||||
install: all
|
||||
@echo installing ${PLUGIN} plugin
|
||||
@mkdir -p ${DESTDIR}${PREFIX}/lib/zathura
|
||||
@cp -f ${PLUGIN}.so ${DESTDIR}${PREFIX}/lib/zathura
|
||||
|
||||
uninstall:
|
||||
@echo uninstalling ${PLUGIN} plugin
|
||||
@rm -f ${DESTDIR}${PREFIX}/lib/zathura/${PLUGIN}.so
|
||||
@rm -rf ${DESTDIR}${PREFIX}/lib/zathura
|
||||
|
@ -39,3 +39,13 @@ clean:
|
||||
@rm -rf ${OBJECTS} ${DOBJECTS} $(PLUGIN).so
|
||||
|
||||
debug: options ${PLUGIN}-debug
|
||||
|
||||
install: all
|
||||
@echo installing ${PLUGIN} plugin
|
||||
@mkdir -p ${DESTDIR}${PREFIX}/lib/zathura
|
||||
@cp -f ${PLUGIN}.so ${DESTDIR}${PREFIX}/lib/zathura
|
||||
|
||||
uninstall:
|
||||
@echo uninstalling ${PLUGIN} plugin
|
||||
@rm -f ${DESTDIR}${PREFIX}/lib/zathura/${PLUGIN}.so
|
||||
@rm -rf ${DESTDIR}${PREFIX}/lib/zathura
|
||||
|
Loading…
Reference in New Issue
Block a user