dect
/
asterisk
Archived
13
0
Fork 0

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
This commit is contained in:
russell 2008-01-07 17:09:23 +00:00
parent 7af8444f25
commit c25a66aadc
1 changed files with 6 additions and 0 deletions

View File

@ -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 ; \