From a2d848d79d9938f6e170f80743f53c53f66f2548 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 23 Jan 2012 21:28:53 -0800 Subject: [PATCH] gui: Use $(INSTALL_DATA), not $(INSTALL), to install data files. Plain $(INSTALL) always adds the executable bit to the installed files, which has the wrong effect for data files. Found by lintian. --- src/ui/gui/automake.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ui/gui/automake.mk b/src/ui/gui/automake.mk index 76e7ae09..d64d6df8 100644 --- a/src/ui/gui/automake.mk +++ b/src/ui/gui/automake.mk @@ -85,14 +85,14 @@ context = pspp install-lang: - $(INSTALL) $(top_srcdir)/src/ui/gui/pspp.lang $(DESTDIR)$(pkgdatadir) + $(INSTALL_DATA) $(top_srcdir)/src/ui/gui/pspp.lang $(DESTDIR)$(pkgdatadir) install-icons: for size in 16x16 ; do \ $(MKDIR_P) $(themedir)/$$size/$(context) ; \ - $(INSTALL) $(top_srcdir)/src/ui/gui/icons/$$size/* $(themedir)/$$size/$(context) ; \ + $(INSTALL_DATA) $(top_srcdir)/src/ui/gui/icons/$$size/* $(themedir)/$$size/$(context) ; \ $(MKDIR_P) $(themedir)/$$size/apps ; \ - $(INSTALL) $(top_srcdir)/src/ui/gui/app-icons/$$size/pspp.png $(themedir)/$$size/apps ; \ + $(INSTALL_DATA) $(top_srcdir)/src/ui/gui/app-icons/$$size/pspp.png $(themedir)/$$size/apps ; \ done gtk-update-icon-cache --ignore-theme-index $(themedir) -- 2.30.2