OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [tags/] [MW_0_8_9PRE7/] [mw/] [doc/] [nano-X/] [Makefile] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 673 markom
# Note! You need to have gtk-doc, docbook, jade, tex, and various other
2
# things set up and playing nicely before you will be able to rebuild
3
# this documentation. If you just want to read the docs, use the prebuilt
4
# copies provided.
5
 
6
MODULE=nano-X
7
SRCDIR=../../src/
8
SOURCEDIR=$(SRCDIR)nanox/
9
INCLUDES=$(SRCDIR)/include/nano-X.h
10
MODFLG=--module=$(MODULE)
11
 
12
.PHONY : scan templates sgml html ps pdf dvi rtf clean
13
 
14
all: pdf html cleanup
15
 
16
scan: $(INCLUDES)
17
        gtkdoc-scan $(MODFLG) --source-dir=$(SOURCEDIR) $(INCLUDES)
18
 
19
templates: scan
20
        gtkdoc-mktmpl $(MODFLG)
21
 
22
sgml: templates
23
        gtkdoc-mkdb $(MODFLG) --source-dir=$(SOURCEDIR)
24
 
25
html: sgml $(MODULE)-docs.sgml
26
        if ! test -d html ; then mkdir html ; fi
27
        cd html && gtkdoc-mkhtml $(MODFLG) ../$(MODULE)-docs.sgml
28
 
29
ps: sgml $(MODULE)-docs.sgml
30
        db2ps $(MODULE)-docs.sgml
31
 
32
pdf: ps
33
        ps2pdf $(MODULE)-docs.ps
34
 
35
cleanup:
36
        rm -f sgml/* tmpl/* *.bak *.log $(MODULE)-unused.txt $(MODULE)-decl.txt $(MODULE)-decl-list.txt *.tex *.dvi *.aux
37
        if test -d tmpl ; then rmdir tmpl ; fi
38
        if test -d sgml ; then rmdir sgml ; fi
39
 
40
clean: cleanup
41
        rm -f html/* *.pdf *.ps
42
        if test -d html ; then rmdir html ; fi

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.