X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;f=www-cgi%2FMakefile;h=6e969d62bbbd3909e9dd1ae4c10cedba707e03f3;hb=2cbcd670c5dfcda374720737fa5a5cd0be93e338;hp=0449389c5531f7dcccfb1d8a4e23003400df3f92;hpb=9028e234bb74a97396855e63d9ca598c1a554dc5;p=userv-utils.git diff --git a/www-cgi/Makefile b/www-cgi/Makefile index 0449389..6e969d6 100644 --- a/www-cgi/Makefile +++ b/www-cgi/Makefile @@ -1,8 +1,9 @@ -# Copyright 1996-2013 Ian Jackson +# Copyright 1996-2013,2016 Ian Jackson # Copyright 1998 David Damerell # Copyright 1999,2003 # Chancellor Masters and Scholars of the University of Cambridge # Copyright 2010 Tony Finch +# Copyright 2013,2016 Mark Wooding # # This is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -22,6 +23,7 @@ include ../settings.make uslibdir= $(libdir)/userv/cgi uslibcgidir= $(uslibdir)/cgi +usdocdir= $(docdir)/userv-cgi TARGETS= ucgi ucgitarget @@ -43,6 +45,11 @@ install: all install-examples: install-docs: + mkdir -p $(usdocdir)/examples + cp INSTALL README.custom-env-filter $(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