SOURCES: rawstudio-DESTDIR.patch (NEW) - back

blues blues at pld-linux.org
Sun Dec 3 02:10:06 CET 2006


Author: blues                        Date: Sun Dec  3 01:10:06 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- back

---- Files affected:
SOURCES:
   rawstudio-DESTDIR.patch (1.2 -> 1.3)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/rawstudio-DESTDIR.patch
diff -u /dev/null SOURCES/rawstudio-DESTDIR.patch:1.3
--- /dev/null	Sun Dec  3 02:10:06 2006
+++ SOURCES/rawstudio-DESTDIR.patch	Sun Dec  3 02:10:01 2006
@@ -0,0 +1,33 @@
+--- ./Makefile.am.org	2006-09-27 08:08:54.000000000 +0000
++++ ./Makefile.am	2006-11-25 20:36:43.000000000 +0000
+@@ -14,24 +14,24 @@
+ install-data-local:
+ 	@$(NORMAL_INSTALL)
+ 	if test -d $(srcdir)/pixmaps; then \
+-	  $(mkinstalldirs) $(prefix)/share/pixmaps; \
++	  $(mkinstalldirs) $(DESTDIR)$(prefix)/share/pixmaps; \
+ 	  for pixmap in $(srcdir)/pixmaps/*; do \
+ 	    if test -f $$pixmap; then \
+-	      $(INSTALL_DATA) $$pixmap $(prefix)/share/pixmaps; \
++	      $(INSTALL_DATA) $$pixmap $(DESTDIR)$(prefix)/share/pixmaps; \
+ 	    fi \
+ 	  done \
+ 	fi
+-	$(mkinstalldirs) $(prefix)/share/applications; \
++	$(mkinstalldirs) $(DESTDIR)$(prefix)/share/applications; \
+ 	if test -f rawstudio.desktop; then \
+-	  $(INSTALL_DATA) rawstudio.desktop $(prefix)/share/applications; \
++	  $(INSTALL_DATA) rawstudio.desktop $(DESTDIR)$(prefix)/share/applications; \
+ 	fi
+ 
+ dist-hook:
+ 	if test -d pixmaps; then \
+-	  mkdir $(distdir)/pixmaps; \
++	  mkdir $(DESTDIR)$(distdir)/pixmaps; \
+ 	  for pixmap in pixmaps/*; do \
+ 	    if test -f $$pixmap; then \
+-	      cp -p $$pixmap $(distdir)/pixmaps; \
++	      cp -p $$pixmap $(DESTDIR)$(distdir)/pixmaps; \
+ 	    fi \
+ 	  done \
+ 	fi
================================================================


More information about the pld-cvs-commit mailing list