projects
/
apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update Status field values handling
[apt.git]
/
doc
/
makefile
diff --git
a/doc/makefile
b/doc/makefile
index 3939c749ff45e2fcd656831310738a02402bf4c9..1c076d5be529e3a0647eeb9eb92cf7f10b03f10c 100644
(file)
--- a/
doc/makefile
+++ b/
doc/makefile
@@
-5,12
+5,12
@@
SUBDIR=doc
# Bring in the default rules
include ../buildlib/defaults.mak
# Bring in the default rules
include ../buildlib/defaults.mak
-# D
ebian Doc SG
ML Documents
-SOURCE = $(wildcard *.
sgml
)
-DEBIANDOC_HTML_OPTIONS=-l en.UTF-8
-include $(D
EBIANDOC
_H)
+# D
ocBook X
ML Documents
+SOURCE = $(wildcard *.
dbk
)
+LC = en
+include $(D
OCBOOK
_H)
-doc: manpages d
ebiandoc
+doc: manpages d
ocbook
examples/sources.list: ../vendor/current/sources.list
ln -sf $(shell readlink -f $^) $@
examples/sources.list: ../vendor/current/sources.list
ln -sf $(shell readlink -f $^) $@
@@
-24,12
+24,12
@@
TO = $(DOC)
TARGET = binary
include $(COPY_H)
TARGET = binary
include $(COPY_H)
-.PHONY: clean clean/subdirs veryclean veryclean/subdirs manpages/subdirs d
ebiandoc
/subdirs all binary doc stats
+.PHONY: clean clean/subdirs veryclean veryclean/subdirs manpages/subdirs d
ocbook
/subdirs all binary doc stats
clean: clean/subdirs clean/examples
veryclean: veryclean/subdirs clean/examples
manpages: apt-vendor.ent manpages/subdirs
clean: clean/subdirs clean/examples
veryclean: veryclean/subdirs clean/examples
manpages: apt-vendor.ent manpages/subdirs
-d
ebiandoc: debiandoc
/subdirs
+d
ocbook: apt-vendor.ent docbook
/subdirs
DOCUMENTATIONPO = $(patsubst %.po,%,$(notdir $(wildcard po/*.po)))
DOCDIRLIST = $(addsuffix /makefile,$(DOCUMENTATIONPO))
DOCUMENTATIONPO = $(patsubst %.po,%,$(notdir $(wildcard po/*.po)))
DOCDIRLIST = $(addsuffix /makefile,$(DOCUMENTATIONPO))
@@
-39,7
+39,7
@@
$(DOCDIRLIST) :: %/makefile : lang.makefile
test -d $(dir $@) || mkdir $(dir $@)
sed "s#@@LANG@@#$(subst /,,$(dir $@))#" $< > $@
test -d $(dir $@) || mkdir $(dir $@)
sed "s#@@LANG@@#$(subst /,,$(dir $@))#" $< > $@
-d
ebiandoc
/subdirs manpages/subdirs clean/subdirs veryclean/subdirs:
+d
ocbook
/subdirs manpages/subdirs clean/subdirs veryclean/subdirs:
for dir in en $(dir $(DOCDIRLIST)); do \
$(MAKE) -C $$dir $(patsubst %/subdirs,%,$@); \
done
for dir in en $(dir $(DOCDIRLIST)); do \
$(MAKE) -C $$dir $(patsubst %/subdirs,%,$@); \
done
@@
-53,11
+53,11
@@
stats:
ifdef PO4A
MANPAGEPOLIST = $(addprefix manpages-translation-,$(DOCUMENTATIONPO))
ifdef PO4A
MANPAGEPOLIST = $(addprefix manpages-translation-,$(DOCUMENTATIONPO))
-D
EBIANDOCPOLIST = $(addprefix debiandoc
-translation-,$(DOCUMENTATIONPO))
+D
OCBOOKPOLIST = $(addprefix docbook
-translation-,$(DOCUMENTATIONPO))
-.PHONY: update-po po4a $(MANPAGEPOLIST) $(D
EBIANDOC
POLIST) $(DOCDIRLIST)
+.PHONY: update-po po4a $(MANPAGEPOLIST) $(D
OCBOOK
POLIST) $(DOCDIRLIST)
-po4a: manpages/subdirs d
ebiandoc
/subdirs
+po4a: manpages/subdirs d
ocbook
/subdirs
update-po:
po4a --previous --no-backups --force --no-translations \
update-po:
po4a --previous --no-backups --force --no-translations \
@@
-78,10
+78,10
@@
$(MANPAGEPOLIST) :: manpages-translation-% : %/makefile po4a.conf
--package-name='$(PACKAGE)-doc' --package-version='$(PACKAGE_VERSION)' \
--msgid-bugs-address='$(PACKAGE_MAIL)' po4a.conf
--package-name='$(PACKAGE)-doc' --package-version='$(PACKAGE_VERSION)' \
--msgid-bugs-address='$(PACKAGE_MAIL)' po4a.conf
-d
ebiandoc/subdirs: $(DEBIANDOC
POLIST)
-$(D
EBIANDOCPOLIST) :: debiandoc
-translation-% : %/makefile po4a.conf
+d
ocbook/subdirs: $(DOCBOOK
POLIST)
+$(D
OCBOOKPOLIST) :: docbook
-translation-% : %/makefile po4a.conf
po4a --previous --no-backups --translate-only $(dir $<)apt.ent \
po4a --previous --no-backups --translate-only $(dir $<)apt.ent \
- $(patsubst %,--translate-only $(dir $<)%,$(patsubst %.
sgml,%.$(subst /,,$(dir $<)).sgml,$(wildcard *.sgml
))) \
+ $(patsubst %,--translate-only $(dir $<)%,$(patsubst %.
dbk,%.$(subst /,,$(dir $<)).dbk,$(wildcard *.dbk
))) \
--package-name='$(PACKAGE)-doc' --package-version='$(PACKAGE_VERSION)' \
--msgid-bugs-address='$(PACKAGE_MAIL)' po4a.conf
endif
--package-name='$(PACKAGE)-doc' --package-version='$(PACKAGE_VERSION)' \
--msgid-bugs-address='$(PACKAGE_MAIL)' po4a.conf
endif
@@
-101,5
+101,5
@@
$(BUILD)/doc/doxygen-stamp: $(DOXYGEN_SOURCES) $(BUILD)/doc/Doxyfile
$(DOXYGEN) $(BUILD)/doc/Doxyfile
touch $(BUILD)/doc/doxygen-stamp
$(DOXYGEN) $(BUILD)/doc/Doxyfile
touch $(BUILD)/doc/doxygen-stamp
-d
ebiandoc
: $(BUILD)/doc/doxygen-stamp
+d
ocbook
: $(BUILD)/doc/doxygen-stamp
endif
endif