install defaults to mode 0755, not 0644, so explicitly pass mode to
ensure .js files aren't made executable.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
define FLOT_INSTALL_TARGET_CMDS
for i in $(FLOT_FILES); do \
- $(INSTALL) -D $(@D)/$$i.min.js $(TARGET_DIR)/var/www/$$i.js; \
+ $(INSTALL) -m 0644 -D $(@D)/$$i.min.js $(TARGET_DIR)/var/www/$$i.js; \
done
endef
endef
define JQUERY_SPARKLINE_INSTALL_TARGET_CMDS
- $(INSTALL) -D $(@D)/$(JQUERY_SPARKLINE_SOURCE) \
+ $(INSTALL) -m 0644 -D $(@D)/$(JQUERY_SPARKLINE_SOURCE) \
$(TARGET_DIR)/var/www/jquery.sparkline.js
endef
endef
define JQUERY_VALIDATION_INSTALL_TARGET_CMDS
- $(INSTALL) -D $(@D)/jquery.validate.min.js \
+ $(INSTALL) -m 0644 -D $(@D)/jquery.validate.min.js \
$(TARGET_DIR)/var/www/jquery.validate.js
endef
endef
define JQUERY_INSTALL_TARGET_CMDS
- $(INSTALL) -D $(@D)/$(JQUERY_SOURCE) $(TARGET_DIR)/var/www/jquery.js
+ $(INSTALL) -m 0644 -D $(@D)/$(JQUERY_SOURCE) \
+ $(TARGET_DIR)/var/www/jquery.js
endef
define JQUERY_UNINSTALL_TARGET_CMDS