Skip to content
Snippets Groups Projects
Commit 83d0c8e6 authored by Karel Slaný's avatar Karel Slaný
Browse files

buildsystem: Added file permissions to installed header files.

Headers were installed with executable flag set on Linux.
parent 5db6f5ef
Branches
Tags
No related merge requests found
......@@ -56,7 +56,7 @@ $(1)-install: $(2)/$(1)$(3)
$(INSTALL) $$^ $(PREFIX)/$(5)
ifneq ($$(strip $$($(1)_HEADERS)),)
$(INSTALL) -d $(PREFIX)/$(INCLUDEDIR)/$(1)
$(INSTALL) $$($(1)_HEADERS) $(PREFIX)/$(INCLUDEDIR)/$(1)
$(INSTALL) -m 644 $$($(1)_HEADERS) $(PREFIX)/$(INCLUDEDIR)/$(1)
endif
.PHONY: $(1)-clean $(1)-install
endef
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment