File cc65-2.13.9-nodoc.patch of Package cc65
diff -u -urN cc65-2.13.9_20130703.orig/doc/Makefile cc65-2.13.9_20130703/doc/Makefile
--- cc65-2.13.9_20130703.orig/doc/Makefile 2012-03-12 08:08:05.000000000 +0100
+++ cc65-2.13.9_20130703/doc/Makefile 2013-07-04 19:40:49.693764501 +0200
@@ -64,19 +64,19 @@
# Pattern-rules, to make targets
%.txt: %.sgml
- linuxdoc -B txt -f $(TXT_OPTIONS) $<
+# linuxdoc -B txt -f $(TXT_OPTIONS) $<
%.html: %.sgml
- linuxdoc -B html --split=1 $(BUTTONS) $<
+# linuxdoc -B html --split=1 $(BUTTONS) $<
%.info: %.sgml
- linuxdoc -B info $<
+# linuxdoc -B info $<
%.dvi: %.sgml
- linuxdoc -B latex --output=dvi $<
+# linuxdoc -B latex --output=dvi $<
%.tex: %.sgml
- linuxdoc -B latex --output=tex $<
+# linuxdoc -B latex --output=tex $<
# ------------------------------------------------------------------------------
# Targets
@@ -101,12 +101,12 @@
.PHONY: linuxdoc
linuxdoc:
- @sgmlcheck index >/dev/null 2>&1 || { \
- echo; \
- echo '"LinuxDoc Tools" does not exist on this system.'; \
- echo 'So, most of the documentation might not have been built.'; \
- echo; \
- false;}
+# @sgmlcheck index >/dev/null 2>&1 || { \
+# echo; \
+# echo '"LinuxDoc Tools" does not exist on this system.'; \
+# echo 'So, most of the documentation might not have been built.'; \
+# echo; \
+# false;}
.PHONY: clean
clean:
@@ -120,16 +120,16 @@
# Special target rules
coding.html: coding.sgml
- sgml2html --split=0 $<
+# sgml2html --split=0 $<
# funcref.sgml's third section is huge.
# So, funcref.html is split into sub-section files.
#
funcref.html: funcref.sgml
- sgml2html --split=2 $(BUTTONS) $<
+# sgml2html --split=2 $(BUTTONS) $<
# The index.html target is special:
# It is only a table of contents. So, it should not be split.
#
index.html: index.sgml
- sgml2html --split=0 $<
+# sgml2html --split=0 $<