Bug#418635: gcc-4.1-doc-non-dfsg: ada documentation not built
Sorry, the patch didn't get attached to the original bug. Here it is.
diff -u -r gcc-4.1-doc-non-dfsg-4.1.1.nf3/ada/gnat_ugn.texi gcc-4.1-doc-non-dfsg-4.1.1.nf3.new/ada/gnat_ugn.texi
--- gcc-4.1-doc-non-dfsg-4.1.1.nf3/ada/gnat_ugn.texi 2007-04-10 19:32:04.000000000 +0200
+++ gcc-4.1-doc-non-dfsg-4.1.1.nf3.new/ada/gnat_ugn.texi 2007-04-10 19:32:03.000000000 +0200
@@ -77,6 +77,8 @@
@c
@c oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
+@setfilename gnat_ugn.info
+
@ifset vms
@setfilename gnat_ugn_vms.info
@end ifset
diff -u -r gcc-4.1-doc-non-dfsg-4.1.1.nf3/Makefile gcc-4.1-doc-non-dfsg-4.1.1.nf3.new/Makefile
--- gcc-4.1-doc-non-dfsg-4.1.1.nf3/Makefile 2007-04-10 19:31:58.000000000 +0200
+++ gcc-4.1-doc-non-dfsg-4.1.1.nf3.new/Makefile 2007-04-10 19:32:01.000000000 +0200
@@ -1,7 +1,8 @@
I_DOC = gcc gccint cpp cppinternals
I_FORTRAN = gfortran
I_TREELANG = treelang
-I = $(I_DOC) $(I_FORTRAN) $(I_TREELANG)
+I_ADA = gnat-style gnat_rm gnat_ugn
+I = $(I_DOC) $(I_FORTRAN) $(I_TREELANG) $(I_ADA)
INFODOCS = $(I:%=%-$(VER).info)
HTMLDOCS = $(I:%=%.html)
@@ -16,7 +17,7 @@
TARGETS = $(INFODOCS) $(HTMLDOCS) $(MANS)
GENFILES = $(TARGETS) gcc-vers.texi $(PODS)
-MKINFO_DEFINES := $(shell echo $(I) gcj cppint | sed 's/\([a-z]\+\)/-D "fn\1 \1-$(VER)"/g')
+MKINFO_DEFINES := $(shell echo $(I) gcj cppint | sed 's/\([-_a-z]\+\)/-D "fn\1 \1-$(VER)"/g')
MKINFO = makeinfo $(MKINFO_DEFINES)
all : $(TARGETS)
@@ -33,6 +34,12 @@
$(I_FORTRAN:%=%.html) : %.html : fortran/%.texi gcc-vers.texi
$(MKINFO) --html --no-split -Idoc -Idoc/include -o $@ $<
+$(I_ADA:%=%-$(VER).info) : %-$(VER).info : ada/%.texi gcc-vers.texi
+ $(MKINFO) -D unw --no-split -Idoc -Idoc/include -o $@ $<
+
+$(I_ADA:%=%.html) : %.html : ada/%.texi gcc-vers.texi
+ $(MKINFO) -D unw --html --no-split -Idoc -Idoc/include -o $@ $<
+
$(I_TREELANG:%=%-$(VER).info) : %-$(VER).info : treelang/%.texi gcc-vers.texi
$(MKINFO) --no-split -Idoc -Idoc/include -o $@ $<
Reply to: