Skip to content

Commit

Permalink
Docs: Remove the static Chinese PDF
Browse files Browse the repository at this point in the history
We really should be building the docs properly.

Signed-off-by: andypugh <[email protected]>
  • Loading branch information
andypugh committed Sep 1, 2020
1 parent c701222 commit eac9994
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 11 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,4 @@ position.txt
*.glade.h
# Ignore test results
*.result
!docs/LinuxCNC_Getting_Started_cn.pdf

2 changes: 1 addition & 1 deletion debian/linuxcnc-doc-cn.files.in
Original file line number Diff line number Diff line change
@@ -1 +1 @@
usr/share/doc/linuxcnc/LinuxCNC_Getting_Started_cn.pdf
#usr/share/doc/linuxcnc/LinuxCNC_Getting_Started_cn.pdf
2 changes: 0 additions & 2 deletions debian/rules.in
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,6 @@ ifneq "$(enable_build_documentation)" ""
debian/tmp/usr/share/doc/linuxcnc-dev/
endif
cp docs/html/gcode*.html debian/tmp/usr/share/doc/linuxcnc/
# Until we can actually build LinuxCNC_Getting_Started_cn.pdf
cp docs/LinuxCNC_Getting_Started_cn.pdf debian/tmp/usr/share/doc/linuxcnc/LinuxCNC_Getting_Started_cn.pdf
rm -rf debian/tmp/usr/share/doc/linuxcnc/html
-rm debian/tmp/linuxcnc*.files
-rm -f debian/tmp/usr/share/doc/linuxcnc/examples/sample-configs/*/*position*.txt
Expand Down
Binary file removed docs/LinuxCNC_Getting_Started_cn.pdf
Binary file not shown.
10 changes: 6 additions & 4 deletions docs/src/Submakefile
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,9 @@ PDF_TARGETS_CN := $(addprefix $(DOC_DIR)/, \
LinuxCNC_Getting_Started_cn.pdf \
)

PDF_TARGETS := $(PDF_TARGETS_EN) $(PDF_TARGETS_FR) $(PDF_TARGETS_ES) $(PDF_TARGETS_CN)
# Chinese PDFs don't build with latex, they do with xetex but that is not on stretch
#PDF_TARGETS := $(PDF_TARGETS_EN) $(PDF_TARGETS_FR) $(PDF_TARGETS_ES) $(PDF_TARGETS_CN)
PDF_TARGETS := $(PDF_TARGETS_EN) $(PDF_TARGETS_FR) $(PDF_TARGETS_ES)

# It's better to keep the above on separate lines for troubleshooting by swapping

Expand Down Expand Up @@ -480,8 +482,8 @@ $(DOC_DIR)/LinuxCNC_Getting_Started_es.pdf: $(DOC_SRCDIR)/Master_Getting_Started
@ln -f $< $@
# Chinese PDFs do not build. They can be persuaded to build by using xetex
# as the a2x backend. See line 403 but even then all characters display as boxes
$(DOC_DIR)/LinuxCNC_Getting_Started_cn.pdf:

$(DOC_DIR)/LinuxCNC_Getting_Started_cn.pdf:$(DOC_SRCDIR)/Master_Getting_Started_cn.pdf
@ln -f $< $@
$(DOC_DIR)/LinuxCNC_Getting_Started_fr.pdf: $(DOC_SRCDIR)/Master_Getting_Started_fr.pdf
@ln -f $< $@
$(DOC_DIR)/LinuxCNC_Documentation.pdf: $(DOC_SRCDIR)/Master_Documentation.pdf
Expand Down Expand Up @@ -705,7 +707,7 @@ docclean:
-rm -f $(DOC_DIR)/LinuxCNC_Getting_Started.pdf
-rm -f $(DOC_DIR)/LinuxCNC_Getting_Started_es.pdf
-rm -f $(DOC_DIR)/LinuxCNC_Getting_Started_fr.pdf
# -rm -f $(DOC_DIR)/LinuxCNC_Getting_Started_cn.pdf
-rm -f $(DOC_DIR)/LinuxCNC_Getting_Started_cn.pdf
-rm -f $(DOC_DIR)/LinuxCNC_Documentation.pdf
-rm -f $(DOC_DIR)/LinuxCNC_Integrator.pdf
-rm -f $(DOC_DIR)/LinuxCNC_Documentation_es.pdf
Expand Down
Binary file not shown.
3 changes: 0 additions & 3 deletions tests/tool-info/random-with-startup-tool/simpockets.tbl.orig

This file was deleted.

0 comments on commit eac9994

Please sign in to comment.