aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-01-07 17:09:23 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-01-07 17:09:23 +0000
commitc25a66aadc12a3fb4e75993f5fa01002545d9c0e (patch)
tree40ea4204ab340365f2e7713be9aacc7bf7bc58af /Makefile
parent7af8444f25e5825c959b08cf57e6491ca3282935 (diff)
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: http://svn.digium.com/svn/asterisk/trunk@96887 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6b7ea3326..e1b96ad14 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 ; \