gmic/gmic-docdir.diff

22 lines
705 B
Diff
Raw Normal View History

Index: gmic-1.6.0.0/src/Makefile
===================================================================
--- gmic-1.6.0.0.orig/src/Makefile
+++ gmic-1.6.0.0/src/Makefile
@@ -71,6 +71,7 @@ endif
LIB=lib
BIN=bin
INCLUDE=include
+DOCDIR = $(USR)/share/doc
#------------------------------------------------
# Set compilation flags for build customization.
@@ -415,7 +416,7 @@ uninstall:
rm -f $(DESTDIR)$(USR)/$(LIB)/libgmic.so.1.6.0
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