fff-web-hood: create directory /www/hood via Makefile

Creating a directory via a .keep subfile is not really nice.

Use the OpenWrt mechanism for this instead.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Reviewed-by: Robert Langhammer <rlanghammer@web.de>
Acked-by: Christian Dresel <freifunk@dresel.systems>
This commit is contained in:
Adrian Schmutzler 2020-12-17 17:07:01 +01:00
parent def42fadde
commit 4f76367b5a
2 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=fff-web-hood
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
@ -25,6 +25,7 @@ define Build/Compile
endef
define Package/fff-web-hood/install
$(INSTALL_DIR) $(1)/www/hood
$(CP) ./files/* $(1)/
endef