File: Makefile.am

package info (click to toggle)
visualos 1.0.3.cvs20011122-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 5,276 kB
  • ctags: 2,014
  • sloc: ansic: 13,526; sh: 3,291; makefile: 693; yacc: 439
file content (107 lines) | stat: -rw-r--r-- 3,168 bytes parent folder | download
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
## Process this file with automake to produce Makefile.in

SUBDIRS=screen_shots

%.ps: %.sgml
	$(MAKE) screen_shots -C screen_shots
	db2ps $^
	rm -f `expr $^ : '\(.*\)\.sgml'`.{aux,dvi,log,tex}
%.pdf: %.ps
	ps2pdf $^ $@
%.txt: %.sgml
	sgmltools -b txt $^
%: %.sgml
	db2html $^
	ln -s ../screen_shots $@

%.eps: %.dia
	dia $^ -e $@
%.gif: %.eps
	convert $^ $@

man_MANS=VisualOS.1
man: 
	help2man -N -i VisualOS.man-include  VisualOS | \
	sed -e'/^\.TH/s/^[^"]*"."[^"]*"\([^"]*\)".*$$/.TH VisualOS "1" "\1" "VisualOS 1.0.2"/'  \
	> VisualOS.1
VisualOS.1: man

html-doc: Manual-es html Descripcion Bibliografia Lista_de_cambios \
	Especificacion_de_requisitos Diseo Resumen Manual-en
	
pdf-doc: Manual-es.pdf VisualOS-docs.pdf Descripcion.pdf Bibliografia.pdf \
	Lista_de_cambios.pdf Manual-en.pdf\
	Especificacion_de_requisitos.pdf Diseo.pdf Resumen.pdf
	
ps-doc: Manual-es.ps VisualOS-docs.ps Descripcion.ps Bibliografia.ps \
	Lista_de_cambios.ps Manual-en.ps \
	Especificacion_de_requisitos.ps Diseo.ps Resumen.ps
	
text-doc: VisualOS-docs.txt Descripcion.txt Bibliografia.txt \
	Lista_de_cambios.txt \
	Especificacion_de_requisitos.txt Diseo.txt Resumen.txt

EXTRA_DIST= \
	VisualOS-docs.sgml sgml VisualOS-docs.txt \
	Manual-es.sgml Manual-en.sgml\
	Descripcion.sgml Descripcion.txt \
	Bibliografia.sgml Bibliografia.txt \
	Especificacion_de_requisitos.sgml Especificacion_de_requisitos.txt \
	Lista_de_cambios.sgml Lista_de_cambios.txt \
	Diseo.sgml Diseo.txt \
	Resumen.sgml Resumen.txt \
	VisualOS.1 VisualOS.man-include

CLEANFILES=Manual-es.pdf VisualOS-docs.pdf Descripcion.pdf Bibliografia.pdf \
	Lista_de_cambios.pdf Manual-en.pdf \
	Especificacion_de_requisitos.pdf Diseo.pdf Resumen.pdf \
	Manual-es.pdf VisualOS-docs.pdf Descripcion.pdf Bibliografia.pdf \
	Lista_de_cambios.pdf \
	Especificacion_de_requisitos.pdf Diseo.pdf Resumen.pdf \
	VisualOS-docs.txt Descripcion.txt Bibliografia.txt \
	Lista_de_cambios.txt \
	Especificacion_de_requisitos.txt Diseo.txt Resumen.txt


	
# The name of the module.
DOC_MODULE=VisualOS

# The top-level SGML file.
DOC_MAIN_SGML_FILE=VisualOS-docs.sgml

# The directory containing the source code (if it contains documentation).
DOC_SOURCE_DIR=../src


TARGET_DIR=$(HTML_DIR)/$(DOC_MODULE)

scan:
	gtkdoc-scan --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) # --ignore-headers=""

templates: scan
	gtkdoc-mktmpl --module=$(DOC_MODULE)

sgml: scan
	gtkdoc-mkdb --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR)

html:
	if ! test -d html ; then mkdir html ; fi
	-cd html && gtkdoc-mkhtml $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE)

clean-local:
	rm -f *~ *.bak *.hierarchy *.signals *.args *-unused.txt
	rm -rf Manual-es html Descripcion Bibliografia Lista_de_cambios \
		Especificacion_de_requisitos Diseo Resumen Manual-en
#	$(MAKE) clean -C screen_shots

maintainer-clean-local: clean
	rm -rf sgml html $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt 

#install-data-local:
#	install -d -m 0755 $(TARGET_DIR)
#	install -m 0644 html/*.html $(TARGET_DIR)
#	install -m 0644 html/index.sgml $(TARGET_DIR)
#	gtkdoc-fixxref --module=$(DOC_MODULE) --html-dir=$(HTML_DIR)

.PHONY : html sgml templates scan