summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Sylvestre Ledru <sylvestre@debian.org>2013-03-04 11:25:44 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-03-04 09:11:56 -0800
commit134355cb63f6f77c887dd746d19dba88b12d221d (patch)
treec9b1c7a3b3b330aa1f24fe6964ee332a0882b724 /Makefile
parentc13a10986e3fbdd8269db5ebfc7a33ad5326d2cb (diff)
downloadsubsurface-134355cb63f6f77c887dd746d19dba88b12d221d.tar.gz
Fix the permission of the ICONFILE and the locale files
Lintian, the Debian package static analyzer, was complaining about the "wrong" permissions on these files. Signed-off-by: Sylvestre Ledru <sylvestre@debian.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 8bd786793..2a1751f1d 100644
--- a/Makefile
+++ b/Makefile
@@ -182,7 +182,7 @@ install: all
$(INSTALL) -d -m 755 $(DESKTOPDIR)
$(INSTALL) $(DESKTOPFILE) $(DESKTOPDIR)
$(INSTALL) -d -m 755 $(ICONDIR)
- $(INSTALL) $(ICONFILE) $(ICONDIR)
+ $(INSTALL) -m 644 $(ICONFILE) $(ICONDIR)
@-if test -z "$(DESTDIR)"; then \
$(gtk_update_icon_cache); \
fi
@@ -194,8 +194,8 @@ install: all
$(INSTALL) -m 644 $(XSLTFILES) $(XSLTDIR); \
fi
for LOC in $(wildcard share/locale/*/LC_MESSAGES); do \
- $(INSTALL) -d -m 755 $(prefix)/$$LOC; \
- $(INSTALL) $$LOC/subsurface.mo $(prefix)/$$LOC/subsurface.mo; \
+ $(INSTALL) -d $(prefix)/$$LOC; \
+ $(INSTALL) -m 644 $$LOC/subsurface.mo $(prefix)/$$LOC/subsurface.mo; \
done