blob: 7d4c237e6fdcf9e053fde5a136ebe51e992e4f29 (
plain)
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
|
## Process this file with automake to produce Makefile.in
MAINTAINERCLEANFILES = Makefile.in
EXTRA_DIST = \
manual.raw \
kernel-doc.in \
stylesheet.css \
figures/*.gif # Add any images you create here
## Fill in all source files that you documented
## with extractable comments here:
##
SOURCEDOC = $(top_srcdir)/src/e.h
## For details on what can be specified in the
## comments, see the beginning of kernel-doc
## in this directory! -- cK.
SGMLFILE = $(PACKAGE)-manual.sgml
docs: manual.raw $(SOURCEDOC)
./kernel-doc -docbook <manual.raw >$(SGMLFILE)
if HAVE_JADE
FULLNAME = $(PACKAGE)-manual-$(VERSION)
html-docs: docs html-customizations.dsl
$(mkinstalldirs) ./$(FULLNAME)/figures
cd $(FULLNAME) && @JADE@ -t sgml -d ../html-customizations.dsl ../$(SGMLFILE)
- cd figures && cp -f *.gif ../$(FULLNAME)/figures
- cd figures && cp -f *.png ../$(FULLNAME)/figures
- cd figures && cp -f *.jpg ../$(FULLNAME)/figures
cp -f stylesheet.css $(FULLNAME)/stylesheet.css
tar cfvz $(FULLNAME).tar.gz $(FULLNAME)
endif
|