]> git.cameronkatri.com Git - cgit.git/blobdiff - Makefile
Use mode 0644 for non-executable files
[cgit.git] / Makefile
index f79688c3dd3b80914235c22865b8fa49419d5c4a..21076103395d07bcbe9f0419b8b7a190238d2cee 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -114,8 +114,8 @@ test: all
 install: all
        mkdir -p $(DESTDIR)$(CGIT_SCRIPT_PATH)
        install cgit $(DESTDIR)$(CGIT_SCRIPT_PATH)/$(CGIT_SCRIPT_NAME)
-       install cgit.css $(DESTDIR)$(CGIT_SCRIPT_PATH)/cgit.css
-       install cgit.png $(DESTDIR)$(CGIT_SCRIPT_PATH)/cgit.png
+       install -m 0644 cgit.css $(DESTDIR)$(CGIT_SCRIPT_PATH)/cgit.css
+       install -m 0644 cgit.png $(DESTDIR)$(CGIT_SCRIPT_PATH)/cgit.png
 
 uninstall:
        rm -f $(CGIT_SCRIPT_PATH)/$(CGIT_SCRIPT_NAME)