Skip to content

Commit

Permalink
Added rule to build html doc.
Browse files Browse the repository at this point in the history
Also had to change the dtd and stylesheet url's to http as xsltproc does
not recognize https (tries to look it up as a file).

And removed the checked in html doc since A) it's generated, and B) is
available in the gh-pages branch.
  • Loading branch information
roadrunner2 committed Oct 31, 2014
1 parent 30f1357 commit 732ae5a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 123 deletions.
9 changes: 8 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

# the used tools
APXS=apxs
XSLT=xsltproc

# the default target
all: .libs/mod_proxy_protocol.so
Expand All @@ -17,6 +18,12 @@ all: .libs/mod_proxy_protocol.so
install: .libs/mod_proxy_protocol.so
$(APXS) -i mod_proxy_protocol.c

# generate the html doc
docs: mod_proxy_protocol.html

mod_proxy_protocol.html: mod_proxy_protocol.xml mod_proxy_protocol.xml.meta
$(XSLT) -o $@ $<

# cleanup
clean:
-rm -rf mod_proxy_protocol.o mod_proxy_protocol.lo mod_proxy_protocol.slo mod_proxy_protocol.la .libs
-rm -rf mod_proxy_protocol.o mod_proxy_protocol.lo mod_proxy_protocol.slo mod_proxy_protocol.la .libs mod_proxy_protocol.html
120 changes: 0 additions & 120 deletions mod_proxy_protocol.html

This file was deleted.

4 changes: 2 additions & 2 deletions mod_proxy_protocol.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<!DOCTYPE modulesynopsis SYSTEM "https://httpd.apache.org/docs/2.4/style/modulesynopsis.dtd">
<?xml-stylesheet type="text/xsl" href="https://httpd.apache.org/docs/2.4/style/manual.en.xsl"?>
<!DOCTYPE modulesynopsis SYSTEM "http://httpd.apache.org/docs/2.4/style/modulesynopsis.dtd">
<?xml-stylesheet type="text/xsl" href="http://httpd.apache.org/docs/2.4/style/manual.en.xsl"?>

<!--
Copyright 2014 Cloudzilla Inc.
Expand Down

0 comments on commit 732ae5a

Please sign in to comment.