chiark
/
gitweb
/
~ianmdlvl
/
developers-reference.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Put in place the new developers-reference and the new refcard.
[developers-reference.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index 2d70910d5af8abde15cec83531e8161a54a4a5ba..8b3d3582e9879a1f46af67ce12daef92b22b8fd9 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-10,6
+10,8
@@
TARGETS := $(foreach fmt,$(FORMATS),developers-reference.$(fmt)) \
$(foreach lng,$(LANGS), \
$(foreach fmt,$(FORMATS), \
$(lng)/developers-reference.$(fmt)))
$(foreach lng,$(LANGS), \
$(foreach fmt,$(FORMATS), \
$(lng)/developers-reference.$(fmt)))
+# list of targets, that currently cannot build
+BLACKLIST := ja/developers-reference.pdf
# hopefully overwritten by caller, e.g. debian/rules
VERSION=unknown
# hopefully overwritten by caller, e.g. debian/rules
VERSION=unknown
@@
-18,9
+20,8
@@
PUBDATE=unknown
# programs for creating output
XP=xsltproc --nonet --novalid --xinclude
XL=xmllint --nonet --noout --postvalid --xinclude
# programs for creating output
XP=xsltproc --nonet --novalid --xinclude
XL=xmllint --nonet --noout --postvalid --xinclude
-# dblatex 0.2.8 has some problems (e.g. #465221), but we can
-# live with that for now (but: Japanese PDF seems to need
-# non-free cyberbit font.)
+# dblatex 0.2.8 has some problems (e.g. #465221 and Japanese does
+# not build)
# Alternatives:
# - docbook2pdf (seems to die on UTF-8, #431085); and
# - fop is currently in contrib, but can go to main, see #366783
# Alternatives:
# - docbook2pdf (seems to die on UTF-8, #431085); and
# - fop is currently in contrib, but can go to main, see #366783
@@
-38,7
+39,7
@@
DBK2HTML=$(PWD)/html.xsl
DBK2HTML1=$(PWD)/txt.xsl
.PHONY: all
DBK2HTML1=$(PWD)/txt.xsl
.PHONY: all
-all: $(
TARGETS
)
+all: $(
filter-out $(BLACKLIST), $(TARGETS)
)
.PHONY: validate
validate: $(SOURCES)
.PHONY: validate
validate: $(SOURCES)
@@
-101,7
+102,7
@@
endif
.PHONY: clean
clean:
rm -f *.fo *.html *.pdf *.txt
.PHONY: clean
clean:
rm -f *.fo *.html *.pdf *.txt
- rm -rf $(LANGS)
+ for L in $(LANGS); do rm -rf `basename ./"$$L"/`; done
rm -f version.ent
rm -f `find . -name "*~" -o -name "*.bak"`
rm -f *~ *.bak .#* core
rm -f version.ent
rm -f `find . -name "*~" -o -name "*.bak"`
rm -f *~ *.bak .#* core