[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]

[XaraXtreme-dev] $DESTDIR in SVGFilter Makefile



Hi,

please consider applying the attached patch, to make SVGFilter's
Makefile support DESTDIR, required to cleanly install stuff for Debian
packages.

Greetings,
Joachim

-- 
Joachim "nomeata" Breitner
Debian Developer
  nomeata@xxxxxxxxxx | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: joachimbreitner@xxxxxxxxxxx | http://people.debian.org/~nomeata

--- Makefile.orig	2006-07-29 16:37:23.000000000 +0200
+++ Makefile	2006-07-29 16:38:19.000000000 +0200
@@ -740,13 +740,13 @@
 
 
 install-data-local:
-	mkdir -p $(prefix)/share/xaralx/filters/
-	$(INSTALL_DATA) $(srcdir)/svgfilter.xml $(prefix)/share/xaralx/filters
-	$(INSTALL_DATA) $(srcdir)/svgfilterc.xml $(prefix)/share/xaralx/filters
+	mkdir -p $(DESTDIR)$(prefix)/share/xaralx/filters/
+	$(INSTALL_DATA) $(srcdir)/svgfilter.xml $(DESTDIR)$(prefix)/share/xaralx/filters
+	$(INSTALL_DATA) $(srcdir)/svgfilterc.xml $(DESTDIR)$(prefix)/share/xaralx/filters
 
 uninstall-local:
-	rm -f $(prefix)/share/xaralx/filters/svgfilter.xml
-	rm -f $(prefix)/share/xaralx/filters/svgfilterc.xml
+	rm -f $(DESTDIR)$(prefix)/share/xaralx/filters/svgfilter.xml
+	rm -f $(DESTDIR)$(prefix)/share/xaralx/filters/svgfilterc.xml
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT:

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil