[e13cd0]: doc / Makefile.am  Maximize  Restore  History

Download this file

62 lines (52 with data), 2.0 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
man_MANS=geany.1
DOCDIR = $(DESTDIR)$(docdir)
IMAGE_FILES = images/*.png
EXTRA_DIST = geany.html geany.css geany.txt geany.1 \
plugins.dox pluginsymbols.c pluginsignals.c \
stash-example.c stash-gui-example.c \
makefile.win32 \
$(srcdir)/$(IMAGE_FILES)
geany-$(VERSION).pdf: geany.txt
rst2latex -stg --documentoptions="10pt,a4paper" --output-encoding=utf8 $(srcdir)/geany.txt geany.tex
(absbuilddir="$$(pwd)/$(builddir)"; \
cd "$(srcdir)" && \
pdflatex -output-directory="$$absbuilddir" "$$absbuilddir/geany.tex")
rm -f geany.tex geany.aux geany.log geany.out
mv geany.pdf $@
api-doc: Doxyfile
doxygen
hacking.html: ../HACKING
rst2html -stg --stylesheet=$(srcdir)/geany.css $(srcdir)/../HACKING $@
# when generating documentation, first try rst2html.py as it is the upstream default
geany.html: geany.txt
(rst2html.py --version) < /dev/null > /dev/null 2>&1 && \
rst2html.py -stg --stylesheet=$(srcdir)/geany.css $(srcdir)/geany.txt $@ || \
rst2html -stg --stylesheet=$(srcdir)/geany.css $(srcdir)/geany.txt $@
hacking-doc: hacking.html
doc: geany.html
pdf: geany-$(VERSION).pdf
doc-clean:
rm -f geany.html
rm -f geany.1
rm -f *.pdf
rm -f hacking.html
uninstall-local:
rm -rf $(DOCDIR);
install-data-local:
$(mkinstalldirs) $(DOCDIR)/html/images
for file in `ls $(srcdir)/$(IMAGE_FILES)`; do \
if [ -f $$file ]; then \
basefile=`echo $$file | sed -e 's,^.*/,,'`; \
$(INSTALL_DATA) $$file $(DOCDIR)/html/images/$$basefile; \
fi \
done
$(INSTALL_DATA) $(srcdir)/geany.html $(DOCDIR)/html/index.html
$(INSTALL_DATA) $(srcdir)/geany.txt $(DOCDIR)/manual.txt
$(INSTALL_DATA) $(top_srcdir)/README $(DOCDIR)
$(INSTALL_DATA) $(top_srcdir)/ChangeLog $(DOCDIR)
$(INSTALL_DATA) $(top_srcdir)/NEWS $(DOCDIR)
$(INSTALL_DATA) $(top_srcdir)/COPYING $(DOCDIR)
$(INSTALL_DATA) $(top_srcdir)/AUTHORS $(DOCDIR)
$(INSTALL_DATA) $(top_srcdir)/TODO $(DOCDIR)
$(INSTALL_DATA) $(top_srcdir)/THANKS $(DOCDIR)
$(INSTALL_DATA) $(top_srcdir)/scintilla/License.txt $(DOCDIR)/ScintillaLicense.txt

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks