From a10e69ac0261443449280ad671513b390b393ab1 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 11 Dec 2013 22:14:14 +0000 Subject: [PATCH 1/1] Provide various documentation for userv-cgi in /usr/share. --- debian/changelog | 1 + www-cgi/Makefile | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/debian/changelog b/debian/changelog index 4e3d348..159b37b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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. -- diff --git a/www-cgi/Makefile b/www-cgi/Makefile index 0449389..0246aa0 100644 --- a/www-cgi/Makefile +++ b/www-cgi/Makefile @@ -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 -- 2.30.2