chiark / gitweb /
Provide various documentation for userv-cgi in /usr/share.
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 11 Dec 2013 22:14:14 +0000 (22:14 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 11 Dec 2013 22:14:14 +0000 (22:14 +0000)
debian/changelog
www-cgi/Makefile

index 4e3d348..159b37b 100644 (file)
@@ -13,6 +13,7 @@ userv-utils (0.6.0~~iwj3) unstable; urgency=low
      - pass --shell /bin/false and --no-create-home
   * Bump Standards-Version to 3.7.0.0.
   * Fix typo in userv-cgi long description.
+  * Provide various documentation for userv-cgi in /usr/share.
 
  --
 
index 0449389..0246aa0 100644 (file)
@@ -22,6 +22,7 @@ include ../settings.make
 
 uslibdir=      $(libdir)/userv/cgi
 uslibcgidir=   $(uslibdir)/cgi
+usdocdir=      $(docdir)/userv-cgi
 
 TARGETS=       ucgi ucgitarget
 
@@ -43,6 +44,11 @@ install:     all
 install-examples:
 
 install-docs:
+               mkdir -p $(usdocdir)/examples
+               cp INSTALL $(usdocdir)/.
+               cp srm.conf.fragment $(usdocdir)/examples/.
+               sed -e 's#/usr/local#$(prefix)#' user-cgi.text \
+                       >$(usdocdir)/userv-cgi.text
 
 clean distclean realclean:
                rm -f $(TARGETS) *.o