diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -14,12 +14,12 @@ all: install define _copy = install -d $$(dir $$@) - install -m 644 $$< $$@ + install -m $(if $(1),$(1),644) $$< $$@ endef define copy = $(ROOT_DIR)/$(2)/$(3): $(1)/$(3) -$(call _copy) +$(call _copy,$(4)) files += $(2)/$(3) endef @@ -47,7 +47,7 @@ $(ROOT_DIR)/$(luadir)/modules: install -d $@ $(eval $(call link,config,$(confdir))) -$(eval $(call copy,config,$(confdir),aaa.json)) +$(eval $(call copy,config,$(confdir),aaa.json,600)) $(eval $(call copy,.,$(resdir),LICENSE)) |