mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-28 17:46:03 +01:00
Copy uninstall target in po/Makefile from girara.
This commit is contained in:
parent
dfd2f5bec7
commit
904bc8cfcb
2 changed files with 7 additions and 0 deletions
1
Makefile
1
Makefile
|
@ -149,6 +149,7 @@ uninstall:
|
|||
$(QUIET)rm -f ${DESTDIR}${DESKTOPPREFIX}/${PROJECT}.desktop
|
||||
$(ECHO) removing pkgconfig file
|
||||
$(QUIET)rm -f ${DESTDIR}${PREFIX}/lib/pkgconfig/${PROJECT}.pc
|
||||
$(MAKE) -C po install
|
||||
|
||||
-include $(wildcard .depend/*.dep)
|
||||
|
||||
|
|
|
@ -38,3 +38,9 @@ install: ${MOS}
|
|||
mkdir -p $(DESTDIR)$(LOCALEDIR)/`dirname $$f`; \
|
||||
install -m 644 $$f $(DESTDIR)$(LOCALEDIR)/`dirname $$f` ; \
|
||||
done
|
||||
|
||||
uninstall: ${MOS}
|
||||
$(ECHO) removing translations
|
||||
$(QUIET)set -e && for f in $^ ; do \
|
||||
rm -f $(LOCALEDIR)/$$f; \
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue