[SR-Dev] git:master: New makefiles for module documentation
Jan Janak
jan at iptel.org
Fri Apr 24 03:35:09 CEST 2009
Module: sip-router
Branch: master
Commit: 37979b9491c9bd2f9e2abb06d839e55242f08187
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=37979b9491c9bd2f9e2abb06d839e55242f08187
Author: Jan Janak <jan at iptel.org>
Committer: Jan Janak <jan at iptel.org>
Date: Fri Apr 24 03:09:32 2009 +0200
New makefiles for module documentation
The new docbook processing system needs new makefiles in directories
with docbook documentation.
---
modules/auth_radius/doc/Makefile | 4 ++++
modules/carrierroute/doc/Makefile | 4 ++++
modules/db_berkeley/doc/Makefile | 4 ++++
modules/db_berkeley/km_doc/Makefile | 4 ++++
modules/db_flatstore/doc/Makefile | 31 +++----------------------------
modules/db_flatstore/km_doc/Makefile | 4 ++++
modules/db_mysql/doc/Makefile | 4 ++++
modules/db_mysql/km_doc/Makefile | 4 ++++
modules/db_postgres/km_doc/Makefile | 4 ++++
modules/dialplan/doc/Makefile | 4 ++++
modules/enum/doc/Makefile | 4 ++++
modules/mediaproxy/doc/Makefile | 4 ++++
modules/misc_radius/doc/Makefile | 4 ++++
modules/peering/doc/Makefile | 4 ++++
modules/tls/doc/Makefile | 31 +++----------------------------
modules/tm/doc/Makefile | 31 +++----------------------------
16 files changed, 61 insertions(+), 84 deletions(-)
diff --git a/modules/auth_radius/doc/Makefile b/modules/auth_radius/doc/Makefile
new file mode 100644
index 0000000..af5de1f
--- /dev/null
+++ b/modules/auth_radius/doc/Makefile
@@ -0,0 +1,4 @@
+docs = auth_radius.xml
+
+docbook_dir = ../../../docbook
+include $(docbook_dir)/Makefile.module
diff --git a/modules/carrierroute/doc/Makefile b/modules/carrierroute/doc/Makefile
new file mode 100644
index 0000000..96bd20f
--- /dev/null
+++ b/modules/carrierroute/doc/Makefile
@@ -0,0 +1,4 @@
+docs = carrierroute.xml
+
+docbook_dir = ../../../docbook
+include $(docbook_dir)/Makefile.module
diff --git a/modules/db_berkeley/doc/Makefile b/modules/db_berkeley/doc/Makefile
new file mode 100644
index 0000000..64944ad
--- /dev/null
+++ b/modules/db_berkeley/doc/Makefile
@@ -0,0 +1,4 @@
+docs = db_berkeley.xml
+
+docbook_dir = ../../../docbook
+include $(docbook_dir)/Makefile.module
diff --git a/modules/db_berkeley/km_doc/Makefile b/modules/db_berkeley/km_doc/Makefile
new file mode 100644
index 0000000..ccfa0af
--- /dev/null
+++ b/modules/db_berkeley/km_doc/Makefile
@@ -0,0 +1,4 @@
+docs = db_berkeley.xml
+
+docbook_dir=../../../docbook
+include $(docbook_dir)/Makefile.module
diff --git a/modules/db_flatstore/doc/Makefile b/modules/db_flatstore/doc/Makefile
index 28b668f..e45b9e0 100644
--- a/modules/db_flatstore/doc/Makefile
+++ b/modules/db_flatstore/doc/Makefile
@@ -1,29 +1,4 @@
-#
-# The list of documents to build (without extensions)
-#
-DOCUMENTS = flatstore
+docs = db_flatstore.xml
-#
-# The root directory containing Makefile.doc
-#
-ROOT_DIR=../../..
-
-#
-# Validate docbook documents before generating output
-# (may be slow)
-#
-#VALIDATE=1
-
-#
-# You can override the stylesheet used to generate
-# xhtml documents here
-#
-#XHTML_XSL=$(ROOT_DIR)/doc/stylesheets/xhtml.xsl
-
-#
-# You can override the stylesheet used to generate
-# plain text documents here
-#
-#TXT_XSL=$(XHTML_XSL)
-
-include $(ROOT_DIR)/Makefile.doc
+docbook_dir = ../../../docbook
+include $(docbook_dir)/Makefile.module
diff --git a/modules/db_flatstore/km_doc/Makefile b/modules/db_flatstore/km_doc/Makefile
new file mode 100644
index 0000000..e45b9e0
--- /dev/null
+++ b/modules/db_flatstore/km_doc/Makefile
@@ -0,0 +1,4 @@
+docs = db_flatstore.xml
+
+docbook_dir = ../../../docbook
+include $(docbook_dir)/Makefile.module
diff --git a/modules/db_mysql/doc/Makefile b/modules/db_mysql/doc/Makefile
new file mode 100644
index 0000000..7303b01
--- /dev/null
+++ b/modules/db_mysql/doc/Makefile
@@ -0,0 +1,4 @@
+docs = db_mysql.xml
+
+docbook_dir = ../../../docbook
+include $(docbook_dir)/Makefile.module
diff --git a/modules/db_mysql/km_doc/Makefile b/modules/db_mysql/km_doc/Makefile
new file mode 100644
index 0000000..7303b01
--- /dev/null
+++ b/modules/db_mysql/km_doc/Makefile
@@ -0,0 +1,4 @@
+docs = db_mysql.xml
+
+docbook_dir = ../../../docbook
+include $(docbook_dir)/Makefile.module
diff --git a/modules/db_postgres/km_doc/Makefile b/modules/db_postgres/km_doc/Makefile
new file mode 100644
index 0000000..e132056
--- /dev/null
+++ b/modules/db_postgres/km_doc/Makefile
@@ -0,0 +1,4 @@
+docs = db_postgres.xml
+
+docbook_dir=../../../docbook
+include $(docbook_dir)/Makefile.module
diff --git a/modules/dialplan/doc/Makefile b/modules/dialplan/doc/Makefile
new file mode 100644
index 0000000..ce7ac91
--- /dev/null
+++ b/modules/dialplan/doc/Makefile
@@ -0,0 +1,4 @@
+docs = dialplan.xml
+
+docbook_dir = ../../../docbook
+include $(docbook_dir)/Makefile.module
diff --git a/modules/enum/doc/Makefile b/modules/enum/doc/Makefile
new file mode 100644
index 0000000..c762f58
--- /dev/null
+++ b/modules/enum/doc/Makefile
@@ -0,0 +1,4 @@
+docs = enum.xml
+
+docbook_dir = ../../../docbook
+include $(docbook_dir)/Makefile.module
diff --git a/modules/mediaproxy/doc/Makefile b/modules/mediaproxy/doc/Makefile
new file mode 100644
index 0000000..721ad72
--- /dev/null
+++ b/modules/mediaproxy/doc/Makefile
@@ -0,0 +1,4 @@
+docs = mediaproxy.xml
+
+docbook_dir = ../../../docbook
+include $(docbook_dir)/Makefile.module
diff --git a/modules/misc_radius/doc/Makefile b/modules/misc_radius/doc/Makefile
new file mode 100644
index 0000000..f50fbb5
--- /dev/null
+++ b/modules/misc_radius/doc/Makefile
@@ -0,0 +1,4 @@
+docs = misc_radius.xml
+
+docbook_dir = ../../../docbook
+include $(docbook_dir)/Makefile.module
diff --git a/modules/peering/doc/Makefile b/modules/peering/doc/Makefile
new file mode 100644
index 0000000..91af3d4
--- /dev/null
+++ b/modules/peering/doc/Makefile
@@ -0,0 +1,4 @@
+docs = peering.xml
+
+docbook_dir = ../../../docbook
+include $(docbook_dir)/Makefile.module
diff --git a/modules/tls/doc/Makefile b/modules/tls/doc/Makefile
index 3170faa..d17195a 100644
--- a/modules/tls/doc/Makefile
+++ b/modules/tls/doc/Makefile
@@ -1,29 +1,4 @@
-#
-# The list of documents to build (without extensions)
-#
-DOCUMENTS = tls
+docs = tls.xml
-#
-# The root directory containing Makefile.doc
-#
-ROOT_DIR=../../..
-
-#
-# Validate docbook documents before generating output
-# (may be slow)
-#
-#VALIDATE=1
-
-#
-# You can override the stylesheet used to generate
-# xhtml documents here
-#
-#XHTML_XSL=$(ROOT_DIR)/doc/stylesheets/xhtml.xsl
-
-#
-# You can override the stylesheet used to generate
-# plain text documents here
-#
-#TXT_XSL=$(XHTML_XSL)
-
-include $(ROOT_DIR)/Makefile.doc
+docbook_dir = ../../../docbook
+include $(docbook_dir)/Makefile.module
diff --git a/modules/tm/doc/Makefile b/modules/tm/doc/Makefile
index 06495a8..85f7396 100644
--- a/modules/tm/doc/Makefile
+++ b/modules/tm/doc/Makefile
@@ -1,29 +1,4 @@
-#
-# The list of documents to build (without extensions)
-#
-DOCUMENTS = tm
+docs = tm.xml
-#
-# The root directory containing Makefile.doc
-#
-ROOT_DIR=../../..
-
-#
-# Validate docbook documents before generating output
-# (may be slow)
-#
-#VALIDATE=1
-
-#
-# You can override the stylesheet used to generate
-# xhtml documents here
-#
-#XHTML_XSL=$(ROOT_DIR)/doc/stylesheets/xhtml.xsl
-
-#
-# You can override the stylesheet used to generate
-# plain text documents here
-#
-#TXT_XSL=$(XHTML_XSL)
-
-include $(ROOT_DIR)/Makefile.doc
+docbook_dir = ../../../docbook
+include $(docbook_dir)/Makefile.module
More information about the sr-dev
mailing list