gmic/gmic-make-zart.diff

16 lines
765 B
Diff

Index: gmic-1.6.0.0/src/Makefile
===================================================================
--- gmic-1.6.0.0.orig/src/Makefile
+++ gmic-1.6.0.0/src/Makefile
@@ -412,6 +412,10 @@ endif
if [ -d /etc/bash_completion.d/ ]; then mkdir -p $(DESTDIR)/etc/bash_completion.d/; cp -f ../resources/gmic_bashcompletion.sh $(DESTDIR)/etc/bash_completion.d/gmic; fi
if [ -d /opt/local/etc/bash_completion.d/ ]; then mkdir -p $(DESTDIR)/opt/local/etc/bash_completion.d/; cp -f ../resources/gmic_bashcompletion.sh $(DESTDIR)/opt/local/etc/bash_completion.d/gmic; fi
+install-zart: zart
+ mkdir -p $(DESTDIR)$(USR)/share/zart
+ cp -f ../zart/zart $(DESTDIR)$(USR)/bin/zart
+
uninstall:
rm -f $(DESTDIR)$(USR)/$(BIN)/gmic
rm -f $(DESTDIR)$(USR)/$(INCLUDE)/gmic.h