diff options
| author | Frederic Peters <fpeters@entrouvert.com> | 2004-09-08 15:50:02 +0000 |
|---|---|---|
| committer | Frederic Peters <fpeters@entrouvert.com> | 2004-09-08 15:50:02 +0000 |
| commit | db8d9f930f9acb2d0f8e9e344bc6fa01d8f4ce8d (patch) | |
| tree | 42e9e16d8c1602faa9deb7f502c3b9bca595c4c4 /docs/reference | |
| parent | 070e552257daeb15c24dce902b6d9d1a17d7b15d (diff) | |
| download | lasso-db8d9f930f9acb2d0f8e9e344bc6fa01d8f4ce8d.tar.gz lasso-db8d9f930f9acb2d0f8e9e344bc6fa01d8f4ce8d.tar.xz lasso-db8d9f930f9acb2d0f8e9e344bc6fa01d8f4ce8d.zip | |
please use spaces between variable names and values
Diffstat (limited to 'docs/reference')
| -rw-r--r-- | docs/reference/Makefile.am | 29 |
1 files changed, 10 insertions, 19 deletions
diff --git a/docs/reference/Makefile.am b/docs/reference/Makefile.am index 6ddb2c67..4cc87582 100644 --- a/docs/reference/Makefile.am +++ b/docs/reference/Makefile.am @@ -1,34 +1,25 @@ -TOP=$(top_srcdir) -DOC_MAIN_SGML_FILE=lasso.sgml -SOURCE_DIR=$(TOP)/lasso -INCLUDE_DIR=$(TOP)/lasso - EXTRA_DIST = \ lasso-sections.txt \ lasso.sgml \ lasso.types -# Extra options to pass to gtkdoc-scangobj. -SCANOBJ_OPTIONS= - -# # We need to pre-process original source files # because gtkdoc does not understand some C features # -DOC_SOURCE_DIR=./code -DOC_SOURCE_FILES=\ - $(shell find $(SOURCE_DIR) -name '*.c' -print ) \ - $(shell find $(INCLUDE_DIR) -name '*.h' -print ) +DOC_SOURCE_DIR = ./code +DOC_SOURCE_FILES = \ + $(shell find $(top_srcdir)/lasso -name '*.c' -print ) \ + $(shell find $(top_srcdir)/lasso -name '*.h' -print ) # do nothing for all all: docs docs: sgml html clean-sources -html: sgml $(DOC_MAIN_SGML_FILE) lasso-index +html: sgml lasso.sgml lasso-index @echo '*** Building HTML ***' test -d html || mkdir html - cd html && gtkdoc-mkhtml lasso ../build/$(DOC_MAIN_SGML_FILE) + cd html && gtkdoc-mkhtml lasso ../build/lasso.sgml SCANOBJ_FILES = lasso.hierarchy lasso.signals lasso.interfaces lasso.prerequisites lasso.args @@ -41,7 +32,7 @@ SCANOBJ_FILES = lasso.hierarchy lasso.signals lasso.interfaces lasso.prerequisit sgml: templates @echo '*** Building SGML ***' cd build && gtkdoc-mkdb --module=lasso \ - --main-sgml-file=$(DOC_MAIN_SGML_FILE) \ + --main-sgml-file=lasso.sgml \ --tmpl-dir=../tmpl/ \ --source-dir=../$(DOC_SOURCE_DIR)/lasso \ --output-dir=../sgml/ @@ -69,8 +60,8 @@ GTKDOC_LIBS = \ $(LASSO_LIBS) \ $(top_builddir)/lasso/liblasso.la -GTKDOC_CC=$(LIBTOOL) --mode=compile $(CC) -GTKDOC_LD=$(LIBTOOL) --mode=link $(CC) +GTKDOC_CC = $(LIBTOOL) --mode=compile $(CC) +GTKDOC_LD = $(LIBTOOL) --mode=link $(CC) scan: doc_sources test -d build || mkdir build @@ -94,7 +85,7 @@ scan: doc_sources doc_sources: $(DOC_SOURCE_FILES) @echo '*** Prepare sources ***' (for i in $(DOC_SOURCE_FILES) ; do \ - folder_name=`echo $$i | sed 's#$(TOP)/##' | sed 's#/[^/]*$$##'`; \ + folder_name=`echo $$i | sed 's#$(top_srcdir)/##' | sed 's#/[^/]*$$##'`; \ file_name=`echo $$i | sed 's#.*/##'`; \ test -d $(DOC_SOURCE_DIR)/$$folder_name || mkdir -p $(DOC_SOURCE_DIR)/$$folder_name; \ cat $$i | \ |
