summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPÁLI Gábor János <pali.gabor@gmail.com>2022-11-03 15:11:09 +0100
committerPÁLI Gábor János <pali.gabor@gmail.com>2022-11-03 15:11:09 +0100
commit9fa727d3d9d718be66cc2339b0b5ab1aecd2bae6 (patch)
treea68aced89904d9d64e0b19b4394a3d36c6b0b51b
parent51e40fca7de6721512ec2b9897fdfe108bde22ff (diff)
downloadfreebsd-wifibox-alpine-9fa727d3d9d718be66cc2339b0b5ab1aecd2bae6.zip
Add support for adding optional configuration files.
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 060ebae..f4b0b6d 100644
--- a/Makefile
+++ b/Makefile
@@ -173,7 +173,9 @@ install:
$(SED) ${_SUB_LIST_EXP} share/grub.cfg > $(SHAREDIR)/grub.cfg
$(MKDIR) -p $(ETCDIR)
- $(CP) -R $(ETC_SRCS)/* $(ETCDIR)/
+.for srcs in $(ETC_SRCS)
+ $(CP) -R ${srcs}/* $(ETCDIR)/
+.endfor
$(MKDIR) -p $(MANDIR)/man5
$(SED) ${_SUB_LIST_EXP} man/wifibox-alpine.5 \