Don't install files as executable. 3/head
authorMichał Bartoszkiewicz <mbartoszkiewicz@gmail.com>
Tue, 22 Jan 2013 16:31:43 +0000 (17:31 +0100)
committerMichał Bartoszkiewicz <mbartoszkiewicz@gmail.com>
Tue, 22 Jan 2013 16:31:43 +0000 (17:31 +0100)
Makefile

index d226a6d6c8c77ff56b60b2f8d5f00d5801bf2764..fc79e89b0ec1ba023240a7aa3276749b4960882e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -49,14 +49,14 @@ DOCDIR=/usr/share/doc/hwids
 
 install-base: compress
        mkdir -p $(DESTDIR)$(DOCDIR)
-       install -p README.md $(DESTDIR)$(DOCDIR)
+       install -p -m 644 README.md $(DESTDIR)$(DOCDIR)
        mkdir -p $(DESTDIR)$(MISCDIR)
        for file in usb.ids pci.ids usb.ids.gz pci.ids.gz oui.txt iab.txt; do \
-               install -p $$file $(DESTDIR)$(MISCDIR); \
+               install -p -m 644 $$file $(DESTDIR)$(MISCDIR); \
        done
 
 install-hwdb:
        mkdir -p $(DESTDIR)$(HWDBDIR)
        for file in udev/*.hwdb; do \
-               install -p $$file $(DESTDIR)$(HWDBDIR); \
+               install -p -m 644 $$file $(DESTDIR)$(HWDBDIR); \
        done