gmic/gmic-docdir.diff

21 lines
708 B
Diff

diff -ru gmic-1.6.8.orig/src/Makefile gmic-1.6.8/src/Makefile
--- gmic-1.6.8.orig/src/Makefile 2015-12-09 13:49:16.000000000 +0100
+++ gmic-1.6.8/src/Makefile 2015-12-21 11:55:14.917445432 +0100
@@ -71,6 +71,7 @@
PLUGINDIR = `gimptool-2.0 --gimpplugindir`/plug-ins
USR = /usr
WGET = wget --quiet -O
+DOCDIR=$(USR)/share/doc
endif
ifeq ($(OSTYPE),msys)
EXE = .exe
@@ -480,7 +483,7 @@
rm -f $(DESTDIR)$(USR)/$(LIB)/libgmic.so.1.6.8
rm -f $(DESTDIR)$(USR)/$(LIB)/libgmic.so.1
rm -f $(DESTDIR)$(USR)/$(LIB)/libgmic.so
- rm -rf $(DESTDIR)$(USR)/share/doc/gmic/
+ rm -rf $(DESTDIR)$(DOCDIR)/gmic/
rm -f $(DESTDIR)$(USR)/share/man/man1/gmic.1.gz
rm -f $(DESTDIR)$(USR)/share/man/fr/man1/gmic.1.gz