[asterisk-commits] russell: trunk r96887 - /trunk/Makefile

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Jan 7 11:09:24 CST 2008


Author: russell
Date: Mon Jan  7 11:09:23 2008
New Revision: 96887

URL: http://svn.digium.com/view/asterisk?view=rev&rev=96887
Log:
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.

Modified:
    trunk/Makefile

Modified: trunk/Makefile
URL: http://svn.digium.com/view/asterisk/trunk/Makefile?view=diff&rev=96887&r1=96886&r2=96887
==============================================================================
--- trunk/Makefile (original)
+++ trunk/Makefile Mon Jan  7 11:09:23 2008
@@ -454,6 +454,12 @@
 	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 ; \




More information about the asterisk-commits mailing list