summaryrefslogtreecommitdiff
path: root/x11-fm/asfiles/files/patch-pixmaps__Makefile.in
blob: b81a0937896a6c6e9a8e044b530d021bcc224c69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- pixmaps/Makefile.in.orig	2014-08-13 10:05:34.480008364 +0800
+++ pixmaps/Makefile.in	2014-08-13 10:05:56.990002894 +0800
@@ -75,12 +75,12 @@ Makefile: $(top_builddir)/config.status 
 
 install-pixmapDATA: $(pixmap_DATA)
 	$(NORMAL_INSTALL)
-	$(mkinstalldirs) $(pixmapdir)
+	$(mkinstalldirs) $(DESTDIR)$(pixmapdir)
 	list="$(pixmap_DATA)"; for p in $$list; do \
 	  if test -f $(srcdir)/$$p; then \
-	    $(INSTALL_DATA) $(srcdir)/$$p $(pixmapdir)/$$p; \
+	    $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pixmapdir)/$$p; \
 	  else if test -f $$p; then \
-	    $(INSTALL_DATA) $$p $(pixmapdir)/$$p; \
+	    $(INSTALL_DATA) $$p $(DESTDIR)$(pixmapdir)/$$p; \
 	  fi; fi; \
 	done