chiark / gitweb /
ipif: ship and use ipif-access
[userv-utils.git] / ipif / Makefile
index 78b49725bdacb9307aa0f25718517b5c5d882f24..289935e7eef05fcae75d3e0ebee8fbc745af5896 100644 (file)
@@ -38,6 +38,8 @@ PROGRAMS$(depr)+=     udptunnel
 PROGRAMS+=             $(PROGRAM_TARGETS)
 
 DIRS+=                 $(libuserv) $(etcuserv) $(services)
+DIRS+=                 $(docdir)/userv-ipif
+DIRS+=                 $(etcuserv)/ipif-access
 DIRS$(depr)+=          $(bindir) $(varlibvpn) $(shareuserv)
 
 SHAREFILES$(depr)+=    udptunnel-vpn-config.m4 udptunnel-vpn-defaults
@@ -53,12 +55,14 @@ all:                $(TARGETS)
 install:       all
                mkdir -p $(DIRS)
                cp -b service $(libuserv)/ipif
+               cp -b service-wrap $(libuserv)/ipif-access
                set -e; for f in $(PROGRAMS); do cp -b $$f $(bindir)/.; done
                cp ipif $(services)/ipif:new
                set -e; cd $(services); test -f ipif || mv ipif:new ipif
                set -e; for f in $(SHAREFILES); do cp $$f $(shareuserv)/.; done
 
 install-docs:
+               sed -n '1,/^$$/p' service.c >$(docdir)/userv-ipif/service.c.txt
 
 install-examples:
                set -e; if [ "x$depr" = x ]; then \