diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2013-12-04 22:48:38 +0000 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2013-12-04 22:48:38 +0000 |
commit | 28b264ac22b5bb4f39920e6be74d3d59b92c9eac (patch) | |
tree | 264ec6b871dd4067fb2453eae6788d5b3b405bbc /ipif | |
parent | 5e8cb121d0061bf38eb33be82b0b026ddafeda63 (diff) | |
download | userv-utils-28b264ac22b5bb4f39920e6be74d3d59b92c9eac.tar.gz |
ipif: Provide head comment of service.c as a txt docs.
Diffstat (limited to 'ipif')
-rw-r--r-- | ipif/Makefile | 2 | ||||
-rw-r--r-- | ipif/ipif | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/ipif/Makefile b/ipif/Makefile index 78b4972..fe6ec6e 100644 --- a/ipif/Makefile +++ b/ipif/Makefile @@ -38,6 +38,7 @@ PROGRAMS$(depr)+= udptunnel PROGRAMS+= $(PROGRAM_TARGETS) DIRS+= $(libuserv) $(etcuserv) $(services) +DIRS+= $(docdir)/userv-ipif DIRS$(depr)+= $(bindir) $(varlibvpn) $(shareuserv) SHAREFILES$(depr)+= udptunnel-vpn-config.m4 udptunnel-vpn-defaults @@ -59,6 +60,7 @@ install: all 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 \ @@ -1,3 +1,5 @@ +# See /usr/share/doc/userv-ipif/service.c.txt +# if ( grep calling-user-shell /etc/shells & glob service-user root ) |