summaryrefslogtreecommitdiff
blob: f8192eba347b35af1023d70e430f6d682b8acce4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- Makefile.in
+++ Makefile.in
@@ -477,10 +477,10 @@
 install-data-local:
 	@$(NORMAL_INSTALL)
 	if test -d $(srcdir)/pixmaps; then \
-	  $(mkinstalldirs) $(datadir)/pixmaps/@PACKAGE@; \
+	  $(mkinstalldirs) $(DESTDIR)/$(datadir)/pixmaps/@PACKAGE@; \
 	  for pixmap in $(srcdir)/pixmaps/*; do \
 	    if test -f $$pixmap; then \
-	      $(INSTALL_DATA) $$pixmap $(datadir)/pixmaps/@PACKAGE@; \
+	      $(INSTALL_DATA) $$pixmap $(DESTDIR)/$(datadir)/pixmaps/@PACKAGE@; \
 	    fi \
 	  done \
 	fi