~hardware-certification/maas-cert-server/trunk

« back to all changes in this revision

Viewing changes to documentation/Makefile

  • Committer: Rod Smith
  • Date: 2015-11-12 20:59:43 UTC
  • mto: This revision was merged to the branch mainline in revision 40.
  • Revision ID: rod.smith@canonical.com-20151112205943-pwuqga9v71ve98az
Replaced documentation with a dependency on the certification-docs package. Made related changes in maniacs-setup and elsewhere.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
SHELL = /bin/sh
2
 
RST2PDF=rst2pdf
3
 
RST2HTML=rst2html
4
 
DOC_NAMES=Self-Test_Guide MAAS_Advanced_NUC_Installation_And_Configuration MAAS_Advanced_NUC_Installation_And_Configuration_Scripted
5
 
HTML_NAMES=$(DOC_NAMES:=.html)
6
 
PDF_NAMES=$(DOC_NAMES:=.pdf)
7
 
 
8
 
.SUFFIXES:
9
 
.SUFFIXES: .pdf .rst
10
 
 
11
 
all:    html pdf
12
 
 
13
 
html:   $(HTML_NAMES)
14
 
 
15
 
pdf:    $(PDF_NAMES)
16
 
 
17
 
%.pdf: %.rst
18
 
        $(RST2PDF) --smart-quotes 1 -s styles/cert-doc.style $< -o $@
19
 
 
20
 
%.html: %.rst
21
 
        $(RST2HTML) --smart-quotes=yes $< $@
22
 
 
23
 
maniac: MAAS_Advanced_NUC_Installation_And_Configuration.pdf
24
 
 
25
 
maniacs: MAAS_Advanced_NUC_Installation_And_Configuration_Scripted.pdf
26
 
 
27
 
stg: Self-Test_Guide.pdf
28
 
 
29
 
maniach: MAAS_Advanced_NUC_Installation_And_Configuration.html
30
 
 
31
 
maniacsh: MAAS_Advanced_NUC_Installation_And_Configuration_Scripted.html
32
 
 
33
 
stgh: Self-Test_Guide.html
34
 
 
35
 
clean:
36
 
        rm -f *.pdf *.html