File: makedoc

package info (click to toggle)
tablix2 0.3.5-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 10,024 kB
  • sloc: ansic: 24,593; xml: 13,161; sh: 10,409; makefile: 800; perl: 564; yacc: 289; sed: 16
file content (57 lines) | stat: -rwxr-xr-x 1,247 bytes parent folder | download | duplicates (4)
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
#!/usr/bin/make -f

PRINT_STYLESHEET = tablix-print.dsl
HTML_STYLESHEET = tablix-html.dsl

DOCS = modules.pdf modules2.pdf morphix.pdf manual.pdf modules doxygen

EXTRA_DIST = changelog.ps tablix.ps tablix_output.ps tablix_modinfo.ps tablix_benchmark.ps tablix2_plot.ps

all: $(DOCS)

dist: $(DOCS) $(EXTRA_DIST)
	tar -czf ../tablix-docs-ps.tar.gz $(DOCS) $(EXTRA_DIST)

modules:
	./mod-doc2.pl ../modules/*.c

doxygen:
	doxygen

%.pdf: %.db $(PRINT_STYLESHEET)
	db2pdf -d $(PRINT_STYLESHEET) $<

%.html: %.db $(HTML_STYLESHEET)
	db2html -o $@ -d $(HTML_STYLESHEET) $<
	mkdir $@/images
	cp -a images/*.png $@/images
	cp tablix.css $@

clean: 
	rm -rf *.html
	rm -rf doxygen
	rm -rf modules
	rm -f *.ps *.pdf
	rm -f modulesref.xml

# special documents

changelog.ps:
	a2ps --highlight-level=none -o changelog.ps ../ChangeLog

tablix.ps: tablix.1
	man -Tps -l tablix.1 > tablix.ps

tablix_output.ps: tablix_output.1
	man -Tps -l tablix_output.1 > tablix_output.ps

tablix_modinfo.ps: tablix_modinfo.1
	man -Tps -l tablix_modinfo.1 > tablix_modinfo.ps

tablix2_plot.ps: tablix2_plot.1
	man -Tps -l tablix2_plot.1 > tablix2_plot.ps

tablix_benchmark.ps: tablix_benchmark.1
	man -Tps -l tablix_benchmark.1 > tablix_benchmark.ps

.PHONY: all dist clean