-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #58 from yast/no_builtin_doc
do not generate documentation with obsolete tools
- Loading branch information
Showing
7 changed files
with
11 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
3.1.2 | ||
3.1.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,55 +1,4 @@ | ||
# | ||
# Makefile.am for core/libycp/doc | ||
# | ||
SUBDIRS = ycp | ||
|
||
htmldir = $(yastdocdir)/ycp | ||
|
||
builtin = $(wildcard $(srcdir)/../src/YCPBuiltin*.cc) | ||
builtinxml := $(builtin:%.cc=%.xml) | ||
xmlfiles = combined.xml | ||
# needed for building the overall documentation | ||
xmlfilesseparated := $(foreach xml,$(builtinxml),$(notdir $(xml))) | ||
htmlfiles = $(filter-out html/index.html,$(wildcard html/*.html html/*/*.html)) | ||
|
||
|
||
html_DATA = \ | ||
html/yast2docs.css \ | ||
html/index.html \ | ||
$(htmlfiles) | ||
|
||
html/index.html: $(xmlfilesseparated) $(xmlfiles) builtins.xml | ||
XML_CATALOG_FILES=@XML_CATALOG@ $(XSLTPROC) $(XSLTPROC_FLAGS) --xinclude @STYLESHEET_HTML@ builtins.xml | ||
|
||
YDOC := $(shell pkg-config --variable=ybindir yast2-devtools)/ydoc2 | ||
RENT := $(shell pkg-config --variable=ybindir yast2-devtools)/replace_entities | ||
|
||
$(xmlfiles) : $(builtin) | ||
$(YDOC) -o $@.tmp $^ | ||
$(XSLTPROC) --stringparam disambiguate yes $(XSLTPROC_FLAGS) @STYLESHEET_YDOC@ $@.tmp > $@ | ||
$(RENT) $@ | ||
rm $@.tmp | ||
|
||
$(xmlfilesseparated) : $(builtin) | ||
$(YDOC) -o $@.tmp ../src/$(subst xml,cc,$@) | ||
$(XSLTPROC) $(XSLTPROC_FLAGS) @STYLESHEET_YDOC@ $@.tmp > $@ | ||
$(RENT) $@ | ||
rm $@.tmp | ||
|
||
html/yast2docs.css: html/index.html | ||
cp @STYLESHEET_CSS@ html | ||
cp -a `pkg-config --variable=yast2dir yast2-devtools`/data/docbook/images html | ||
|
||
EXTRA_DIST = builtins.xml | ||
|
||
CLEANFILES = $(xmlfiles) $(xmlfilesseparated) | ||
|
||
clean-local: | ||
rm -rf html | ||
|
||
install-data-local: | ||
mkdir -p $(DESTDIR)$(htmldir) | ||
cp -a $(srcdir)/html/images $(DESTDIR)$(htmldir) | ||
|
||
check-manual: | ||
xmllint --noout --valid builtins.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
------------------------------------------------------------------- | ||
Tue Oct 15 09:24:53 UTC 2013 - [email protected] | ||
|
||
- Dropped documentation generated by makebuildindocs, not include | ||
in yast2-devtools. Parts of it are obsolete anyway (YCP, WFM), | ||
ag_process and ag_system will get new tools. | ||
- 3.1.3 | ||
|
||
------------------------------------------------------------------- | ||
Wed Oct 2 14:56:39 UTC 2013 - [email protected] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,3 @@ | ||
# Makefile.am for core/wfm/doc | ||
|
||
SUBDIRS = | ||
|
||
htmldir = $(yastdocdir)/ycp/WFM | ||
|
||
htmlfiles = $(filter-out html/index.html,$(wildcard html/*.html)) | ||
builtin = $(srcdir)/../src/Y2WFMComponent.cc | ||
builtinxml := $(builtin:%.cc=%.xml) | ||
xmlfiles := $(foreach xml,$(builtinxml),$(notdir $(xml))) | ||
|
||
|
||
html_DATA = \ | ||
html/yast2docs.css \ | ||
html/index.html \ | ||
$(htmlfiles) | ||
|
||
html/index.html: $(xmlfiles) wfm.xml | ||
XML_CATALOG_FILES=@XML_CATALOG@ $(XSLTPROC) $(XSLTPROC_FLAGS) --xinclude @STYLESHEET_HTML@ wfm.xml | ||
|
||
|
||
|
||
$(xmlfiles) : $(builtin) | ||
`pkg-config --variable=ybindir yast2-devtools`/ydoc2 -o $@.tmp ../src/$(subst xml,cc,$@) | ||
$(XSLTPROC) $(XSLTPROC_FLAGS) @STYLESHEET_YDOC@ $@.tmp > $@ | ||
`pkg-config --variable=ybindir yast2-devtools`/replace_entities $@ | ||
rm $@.tmp | ||
|
||
html/yast2docs.css: html/index.html | ||
cp @STYLESHEET_CSS@ html | ||
cp -a `pkg-config --variable=yast2dir yast2-devtools`/data/docbook/images html | ||
|
||
EXTRA_DIST = wfm.xml | ||
|
||
CLEANFILES = $(xmlfiles) | ||
|
||
clean-local: | ||
rm -rf html | ||
|
||
install-data-local: | ||
mkdir -p $(DESTDIR)$(htmldir) | ||
cp -a $(srcdir)/html/images $(DESTDIR)$(htmldir) |