forked from inverse-inc/packetfence
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
18 lines (14 loc) · 1.48 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
all:
@echo "Please chose which documentation to build:"
@echo ""
@echo " 'pdf' will build all guide using the PDF format"
@echo " 'doc-admin-pdf' will build the Administration guide in PDF"
@echo " 'doc-developers-pdf' will build the Develoeprs guide in PDF"
@echo " 'doc-networkdevices-pdf' will build the Network Devices Configuration guide in PDF"
pdf: doc-admin-pdf doc-developers-pdf doc-networkdevices-pdf
doc-admin-pdf:
asciidoc -a docinfo2 -b docbook -d book -d book -o docs/docbook/PacketFence_Administration_Guide.docbook docs/PacketFence_Administration_Guide.asciidoc; fop -c docs/fonts/fop-config.xml -xsl docs/docbook/xsl/packetfence-fo.xsl -xml docs/docbook/PacketFence_Administration_Guide.docbook -pdf docs/PacketFence_Administration_Guide.pdf
doc-developers-pdf:
asciidoc -a docinfo2 -b docbook -d book -d book -o docs/docbook/PacketFence_Developers_Guide.docbook docs/PacketFence_Developers_Guide.asciidoc; fop -c docs/fonts/fop-config.xml -xsl docs/docbook/xsl/packetfence-fo.xsl -xml docs/docbook/PacketFence_Developers_Guide.docbook -pdf docs/PacketFence_Developers_Guide.pdf
doc-networkdevices-pdf:
asciidoc -a docinfo2 -b docbook -d book -d book -o docs/docbook/PacketFence_Network_Devices_Configuration.docbook docs/PacketFence_Network_Devices_Configuration_Guide.asciidoc; fop -c docs/fonts/fop-config.xml -xsl docs/docbook/xsl/packetfence-fo.xsl -xml docs/docbook/PacketFence_Network_Devices_Configuration.docbook -pdf docs/PacketFence_Network_Devices_Configuration.pdf