From: Russell Bryant Date: Mon, 7 Jan 2008 17:09:23 +0000 (+0000) Subject: If the HTML documentation exists, install it in the static-http/docs directory X-Git-Tag: 1.6.0-beta1~3^2~171 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96cf593b8fff68937d628b1ba970f1e6f57ddd6a;p=thirdparty%2Fasterisk.git If the HTML documentation exists, install it in the static-http/docs directory so that it can be viewed through the Asterisk http server if it is turned on. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@96887 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/Makefile b/Makefile index 6b7ea3326f..e1b96ad14b 100644 --- a/Makefile +++ b/Makefile @@ -454,6 +454,12 @@ datafiles: _all for x in static-http/*; do \ $(INSTALL) -m 644 $$x $(DESTDIR)$(ASTDATADIR)/static-http ; \ done + if [ -d doc/tex/asterisk ] ; then \ + mkdir -p $(DESTDIR)$(ASTDATADIR)/static-http/docs ; \ + for n in doc/tex/asterisk/* ; do \ + $(INSTALL) -m 644 $$n $(DESTDIR)$(ASTDATADIR)/static-http/docs ; \ + done \ + fi mkdir -p $(DESTDIR)$(ASTDATADIR)/images for x in images/*.jpg; do \ $(INSTALL) -m 644 $$x $(DESTDIR)$(ASTDATADIR)/images ; \