]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
If the HTML documentation exists, install it in the static-http/docs directory
authorRussell Bryant <russell@russellbryant.com>
Mon, 7 Jan 2008 17:09:23 +0000 (17:09 +0000)
committerRussell Bryant <russell@russellbryant.com>
Mon, 7 Jan 2008 17:09:23 +0000 (17:09 +0000)
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

Makefile

index 6b7ea3326fb5c4d72c5b9e1702b63516cb9d22ca..e1b96ad14b6c433f628ecb079e96fd640b508f00 100644 (file)
--- 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 ; \