srcanamdw/codescanner/pyinstaller/doc/source/Makefile
author noe\swadi
Thu, 18 Feb 2010 12:29:02 +0530
changeset 1 22878952f6e2
permissions -rw-r--r--
Committing the CodeScanner Core tool This component has been moved from the StaticAnaApps package. BUG : 5889 (http://developer.symbian.org/webbugs/show_bug.cgi?id=5889).
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
     1
#
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
     2
# Generate PyInstaller documentation
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
     3
#
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
     4
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
     5
.PHONY: doc pdf
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
     6
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
     7
all:
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
     8
	@echo "make doc   ===> To generate a html and pdf of the documentation"
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
     9
	@echo "make html  ===> To generate a html of the documentation"
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    10
	@echo "make pdf   ===> To generate a pdf of the documentation"
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    11
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    12
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    13
doc: html pdf cleanlogs
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    14
	@echo "Documentation generated: Please see ../*.html and ../*.pdf for files"
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    15
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    16
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    17
html: ../Manual.html
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    18
pdf: ../Manual.pdf
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    19
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    20
../Manual.html: Manual.rst
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    21
	tools/buildrecursive.py --local --strict --title='PyInstaller Manual' --outpath=..
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    22
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    23
Manual.tex: Manual.rst
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    24
	tools/rst2newlatex.py --stylesheet-path=stylesheets/latex.tex Manual.rst Manual.tex
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    25
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    26
../Manual.pdf: Manual.tex
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    27
	cd .. ; pdflatex source/Manual.tex
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    28
	@echo "#############################################################################"
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    29
	@echo "# Executing again to fix Table of Content...                                #"
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    30
	@echo "#############################################################################"
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    31
	cd .. ; pdflatex source/Manual.tex
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    32
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    33
clean:
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    34
	@echo "make cleanall  ===> To clean everything"
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    35
	@echo "make cleanlogs ===> To clean *.log, *.aux, etc. but not the .html or .pdf"
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    36
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    37
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    38
cleanall: cleanlogs
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    39
	rm -f ../*.pdf
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    40
	rm -f ../*.html
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    41
	@echo "All logs and documentation removed."
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    42
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    43
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    44
cleanlogs:
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    45
	rm -f ../*.aux
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    46
	rm -f ../*.out
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    47
	rm -f .log *.log  ../*.log
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    48
	@echo "All logs and aux removed."
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    49
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    50
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    51
#
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    52
# END OF FILE
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    53
#