summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPÁLI Gábor János <pali.gabor@gmail.com>2022-02-18 02:29:36 +0100
committerPÁLI Gábor János <pali.gabor@gmail.com>2022-02-18 02:29:36 +0100
commit1bb5c18c26d12ce0503067e5062c096ab72521cb (patch)
treeba9755f0477984f6aa878ebaecfabb61eb2e0af8 /Makefile
parent7083c078d4572375867f6e3859c31349a2524404 (diff)
downloadfreebsd-wifibox-alpine-1bb5c18c26d12ce0503067e5062c096ab72521cb.zip
Import configuration file samples.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f705dc0..339e6f4 100644
--- a/Makefile
+++ b/Makefile
@@ -7,6 +7,7 @@ ROOT=$(PREFIX)/share/wifibox/guest
SHAREDIR=$(DESTDIR)$(PREFIX)/share/wifibox
GUESTDIR=$(SHAREDIR)/guest
PACKAGEDIR=$(GUESTDIR)/packages
+ETCDIR=$(DESTDIR)$(PREFIX)/etc/wifibox
MANDIR=$(DESTDIR)$(PREFIX)/man
MKDIR=/bin/mkdir
@@ -41,6 +42,9 @@ install:
$(RM) $(GUESTDIR)/setup.sh
$(RM) $(GUESTDIR)/busybox.core
+ $(MKDIR) -p $(ETCDIR)
+ $(CP) etc/* $(ETCDIR)/
+
$(MKDIR) -p $(MANDIR)/man5
$(SED) ${_SUB_LIST_EXP} man/wifibox-alpine.5 \
| $(GZIP) -c > $(MANDIR)/man5/wifibox-alpine.5.gz