Generate the documentation through XML with GtkDoc

This commit is contained in:
Pierre Pronchery 2022-04-30 02:54:34 +02:00
parent a70ec2f956
commit 3a7c35fdf2
3 changed files with 18 additions and 14 deletions

View File

@ -0,0 +1,2 @@
<!ENTITY server "www.defora.org/doc/gtk-doc/html">
<!ENTITY title "Reference Manual">

View File

@ -1,23 +1,25 @@
subdirs=gtkdoc
targets=gtkdoc/Asm.types,gtkdoc/tmpl.stamp,gtkdoc/sgml.stamp,gtkdoc/html.stamp
targets=gtkdoc/Asm.types,gtkdoc/html.stamp,gtkdoc/tmpl.stamp,gtkdoc/xml.stamp
dist=Makefile,GRAMMAR,gtkdoc.sh
#targets
[gtkdoc/Asm.types]
type=script
script=./gtkdoc.sh
[gtkdoc/tmpl.stamp]
type=script
script=./gtkdoc.sh
depends=$(OBJDIR)gtkdoc/Asm.types
[gtkdoc/sgml.stamp]
type=script
script=./gtkdoc.sh
depends=$(OBJDIR)gtkdoc/tmpl.stamp
depends=gtkdoc.sh,../config.sh
[gtkdoc/html.stamp]
type=script
script=./gtkdoc.sh
depends=gtkdoc/Asm-docs.xml,$(OBJDIR)gtkdoc/sgml.stamp
depends=gtkdoc/Asm-docs.xml,$(OBJDIR)gtkdoc/xml.stamp,gtkdoc/xml/gtkdocentities.ent,gtkdoc.sh,../config.ent,../config.sh
install=
[gtkdoc/tmpl.stamp]
type=script
script=./gtkdoc.sh
depends=$(OBJDIR)gtkdoc/Asm.types,gtkdoc.sh,../config.sh
[gtkdoc/xml.stamp]
type=script
script=./gtkdoc.sh
depends=gtkdoc.sh,$(OBJDIR)gtkdoc/tmpl.stamp

View File

@ -1,10 +1,10 @@
package=Asm
version=0.2.3
config=h,sh
config=ent,h,sh
subdirs=data,doc,include,src,tools,tests
targets=tests
dist=Makefile,COPYING,config.h,config.sh
dist=Makefile,COPYING,config.ent,config.h,config.sh
#targets
[tests]