summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile12
-rw-r--r--config/iftab (renamed from src/iftab)0
-rw-r--r--docs/examples/bridge (renamed from examples/bridge)0
-rw-r--r--docs/examples/ethernet-dhcp (renamed from examples/ethernet-dhcp)0
-rw-r--r--docs/examples/ethernet-iproute (renamed from examples/ethernet-iproute)0
-rw-r--r--docs/examples/ethernet-static (renamed from examples/ethernet-static)0
-rw-r--r--docs/examples/openvpn (renamed from examples/openvpn)0
-rw-r--r--docs/examples/ppp (renamed from examples/ppp)0
-rw-r--r--docs/examples/tuntap (renamed from examples/tuntap)0
-rw-r--r--docs/examples/vlan-dhcp (renamed from examples/vlan-dhcp)0
-rw-r--r--docs/examples/vlan-static (renamed from examples/vlan-static)0
-rw-r--r--docs/examples/wireless-open (renamed from examples/wireless-open)0
-rw-r--r--docs/examples/wireless-wep (renamed from examples/wireless-wep)0
-rw-r--r--docs/examples/wireless-wep-string-key (renamed from examples/wireless-wep-string-key)0
-rw-r--r--docs/examples/wireless-wpa (renamed from examples/wireless-wpa)0
-rw-r--r--docs/examples/wireless-wpa-config (renamed from examples/wireless-wpa-config)0
-rw-r--r--docs/examples/wireless-wpa-configsection (renamed from examples/wireless-wpa-configsection)0
-rw-r--r--docs/examples/wireless-wpa-static (renamed from examples/wireless-wpa-static)0
-rw-r--r--docs/man/netcfg.8 (renamed from man/netcfg.8)0
19 files changed, 7 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 02f6695..35969d9 100644
--- a/Makefile
+++ b/Makefile
@@ -10,11 +10,12 @@ install:
$(DESTDIR)/etc/rc.d \
$(DESTDIR)/usr/share/man/{man5,man8} \
install -d $(DESTDIR)/lib/systemd/system
- # Documentation
+ # Configuration files
install -m644 config/netcfg $(DESTDIR)/etc/conf.d/netcfg
- install -m644 examples/* $(DESTDIR)/etc/network.d/examples/
- install -m644 src/iftab $(DESTDIR)/etc/iftab
- install -m644 man/*.8 $(DESTDIR)/usr/share/man/man8
+ install -m644 config/iftab $(DESTDIR)/etc/iftab
+ # Documentation
+ install -m644 docs/examples/* $(DESTDIR)/etc/network.d/examples/
+ install -m644 docs/man/*.8 $(DESTDIR)/usr/share/man/man8
# Libs
install -m644 src/{network,rfkill,8021x,globals} $(DESTDIR)/usr/lib/network
install -m755 src/connections/* ${DESTDIR}/usr/lib/network/connections
@@ -50,8 +51,9 @@ docs:
tarball: docs
sed -i "s/NETCFG_VER=.*/NETCFG_VER=$(VERSION)/g" scripts/netcfg
+ rm -rf netcfg-$(VERSION)
mkdir -p netcfg-$(VERSION)
- cp -r src scripts src-wireless ifplugd wpa_actiond examples contrib man Makefile LICENSE README netcfg-$(VERSION)
+ cp -r docs config src scripts src-wireless ifplugd wpa_actiond contrib Makefile LICENSE README netcfg-$(VERSION)
tar -zcvf netcfg-$(VERSION).tar.gz netcfg-$(VERSION)
rm -rf netcfg-$(VERSION)
diff --git a/src/iftab b/config/iftab
index e016644..e016644 100644
--- a/src/iftab
+++ b/config/iftab
diff --git a/examples/bridge b/docs/examples/bridge
index bd422fa..bd422fa 100644
--- a/examples/bridge
+++ b/docs/examples/bridge
diff --git a/examples/ethernet-dhcp b/docs/examples/ethernet-dhcp
index 0719632..0719632 100644
--- a/examples/ethernet-dhcp
+++ b/docs/examples/ethernet-dhcp
diff --git a/examples/ethernet-iproute b/docs/examples/ethernet-iproute
index d22dd17..d22dd17 100644
--- a/examples/ethernet-iproute
+++ b/docs/examples/ethernet-iproute
diff --git a/examples/ethernet-static b/docs/examples/ethernet-static
index 250896d..250896d 100644
--- a/examples/ethernet-static
+++ b/docs/examples/ethernet-static
diff --git a/examples/openvpn b/docs/examples/openvpn
index b6106aa..b6106aa 100644
--- a/examples/openvpn
+++ b/docs/examples/openvpn
diff --git a/examples/ppp b/docs/examples/ppp
index dfb6bc1..dfb6bc1 100644
--- a/examples/ppp
+++ b/docs/examples/ppp
diff --git a/examples/tuntap b/docs/examples/tuntap
index 2917875..2917875 100644
--- a/examples/tuntap
+++ b/docs/examples/tuntap
diff --git a/examples/vlan-dhcp b/docs/examples/vlan-dhcp
index 8c6ad23..8c6ad23 100644
--- a/examples/vlan-dhcp
+++ b/docs/examples/vlan-dhcp
diff --git a/examples/vlan-static b/docs/examples/vlan-static
index b7b9753..b7b9753 100644
--- a/examples/vlan-static
+++ b/docs/examples/vlan-static
diff --git a/examples/wireless-open b/docs/examples/wireless-open
index db8d6ef..db8d6ef 100644
--- a/examples/wireless-open
+++ b/docs/examples/wireless-open
diff --git a/examples/wireless-wep b/docs/examples/wireless-wep
index b16f65e..b16f65e 100644
--- a/examples/wireless-wep
+++ b/docs/examples/wireless-wep
diff --git a/examples/wireless-wep-string-key b/docs/examples/wireless-wep-string-key
index ebc4b0a..ebc4b0a 100644
--- a/examples/wireless-wep-string-key
+++ b/docs/examples/wireless-wep-string-key
diff --git a/examples/wireless-wpa b/docs/examples/wireless-wpa
index 20f5509..20f5509 100644
--- a/examples/wireless-wpa
+++ b/docs/examples/wireless-wpa
diff --git a/examples/wireless-wpa-config b/docs/examples/wireless-wpa-config
index 955d845..955d845 100644
--- a/examples/wireless-wpa-config
+++ b/docs/examples/wireless-wpa-config
diff --git a/examples/wireless-wpa-configsection b/docs/examples/wireless-wpa-configsection
index d6cc8ad..d6cc8ad 100644
--- a/examples/wireless-wpa-configsection
+++ b/docs/examples/wireless-wpa-configsection
diff --git a/examples/wireless-wpa-static b/docs/examples/wireless-wpa-static
index 25da514..25da514 100644
--- a/examples/wireless-wpa-static
+++ b/docs/examples/wireless-wpa-static
diff --git a/man/netcfg.8 b/docs/man/netcfg.8
index 5bbab66..5bbab66 100644
--- a/man/netcfg.8
+++ b/docs/man/netcfg.8