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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [mw/] [doc/] [nano-X/] [Makefile] - Diff between revs 673 and 1765

Only display areas with differences | Details | Blame | View Log

Rev 673 Rev 1765
# Note! You need to have gtk-doc, docbook, jade, tex, and various other
# Note! You need to have gtk-doc, docbook, jade, tex, and various other
# things set up and playing nicely before you will be able to rebuild
# things set up and playing nicely before you will be able to rebuild
# this documentation. If you just want to read the docs, use the prebuilt
# this documentation. If you just want to read the docs, use the prebuilt
# copies provided.
# copies provided.
MODULE=nano-X
MODULE=nano-X
SRCDIR=../../src/
SRCDIR=../../src/
SOURCEDIR=$(SRCDIR)nanox/
SOURCEDIR=$(SRCDIR)nanox/
INCLUDES=$(SRCDIR)/include/nano-X.h
INCLUDES=$(SRCDIR)/include/nano-X.h
MODFLG=--module=$(MODULE)
MODFLG=--module=$(MODULE)
.PHONY : scan templates sgml html ps pdf dvi rtf clean
.PHONY : scan templates sgml html ps pdf dvi rtf clean
all: pdf html cleanup
all: pdf html cleanup
scan: $(INCLUDES)
scan: $(INCLUDES)
        gtkdoc-scan $(MODFLG) --source-dir=$(SOURCEDIR) $(INCLUDES)
        gtkdoc-scan $(MODFLG) --source-dir=$(SOURCEDIR) $(INCLUDES)
templates: scan
templates: scan
        gtkdoc-mktmpl $(MODFLG)
        gtkdoc-mktmpl $(MODFLG)
sgml: templates
sgml: templates
        gtkdoc-mkdb $(MODFLG) --source-dir=$(SOURCEDIR)
        gtkdoc-mkdb $(MODFLG) --source-dir=$(SOURCEDIR)
html: sgml $(MODULE)-docs.sgml
html: sgml $(MODULE)-docs.sgml
        if ! test -d html ; then mkdir html ; fi
        if ! test -d html ; then mkdir html ; fi
        cd html && gtkdoc-mkhtml $(MODFLG) ../$(MODULE)-docs.sgml
        cd html && gtkdoc-mkhtml $(MODFLG) ../$(MODULE)-docs.sgml
ps: sgml $(MODULE)-docs.sgml
ps: sgml $(MODULE)-docs.sgml
        db2ps $(MODULE)-docs.sgml
        db2ps $(MODULE)-docs.sgml
pdf: ps
pdf: ps
        ps2pdf $(MODULE)-docs.ps
        ps2pdf $(MODULE)-docs.ps
cleanup:
cleanup:
        rm -f sgml/* tmpl/* *.bak *.log $(MODULE)-unused.txt $(MODULE)-decl.txt $(MODULE)-decl-list.txt *.tex *.dvi *.aux
        rm -f sgml/* tmpl/* *.bak *.log $(MODULE)-unused.txt $(MODULE)-decl.txt $(MODULE)-decl-list.txt *.tex *.dvi *.aux
        if test -d tmpl ; then rmdir tmpl ; fi
        if test -d tmpl ; then rmdir tmpl ; fi
        if test -d sgml ; then rmdir sgml ; fi
        if test -d sgml ; then rmdir sgml ; fi
clean: cleanup
clean: cleanup
        rm -f html/* *.pdf *.ps
        rm -f html/* *.pdf *.ps
        if test -d html ; then rmdir html ; fi
        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.