Skip to content
Browse files

New package "gccgo" for the Go compiler manual.

(Not sure it's terribly useful, but why not?)

Dch: Short
  • Loading branch information...
1 parent 12d3aa0 commit b52bf32abf434407f0e8c1af938cb1f2a652c5a7 @SamB committed
Showing with 40 additions and 2 deletions.
  1. +12 −2 debian/Makefile
  2. +12 −0 debian/control
  3. +13 −0 debian/gccgo-4.6-doc.doc-base
  4. +1 −0 debian/gccgo-4.6-doc.docs
  5. +1 −0 debian/gccgo-4.6-doc.info
  6. +1 −0 debian/gccgo-4.6-doc.manpages
View
14 debian/Makefile
@@ -2,12 +2,13 @@ I_GCC = gcc gccint cpp cppinternals
I_FORTRAN = gfortran
I_ADA = gnat-style gnat_rm gnat_ugn
I_GCJ = gcj
-I = $(I_GCC) $(I_FORTRAN) $(I_ADA) $(I_GCJ)
+I_GO = gccgo
+I = $(I_GCC) $(I_FORTRAN) $(I_ADA) $(I_GCJ) $(I_GO)
INFODOCS = $(I:%=%-$(VER).info) gccinstall-$(VER).info
HTMLDOCS = $(I:%=%.html)
GCJ_M1 = gcj gij jcf-dump jv-convert grmic gcj-dbtool gc-analyse
-M1 = gcc gcov cpp gfortran $(GCJ_M1)
+M1 = gcc gcov cpp gfortran $(GCJ_M1) gccgo
M = $(M1)
MANS = $(M:%=%-$(VER).1)
PODS = $(M:%=%.pod)
@@ -65,6 +66,12 @@ $(I_GCJ:%=%-$(VER).info) : %-$(VER).info : gcc/java/%.texi $(GCCVERS)
$(I_GCJ:%=%.html) : %.html : gcc/java/%.texi $(GCCVERS)
$(MKINFO) --html -o $@ $<
+$(I_GO:%=%-$(VER).info) : %-$(VER).info : gcc/go/%.texi $(GCCVERS)
+ $(MKINFO) -o $@ $<
+
+$(I_GO:%=%.html) : %.html : gcc/go/%.texi $(GCCVERS)
+ $(MKINFO) --html -o $@ $<
+
%-$(VER).1 : %.pod
pod2man --center="GNU" --release="gcc-$(FULLVER)" --section=1 $< > $@
@@ -83,6 +90,9 @@ $(GCJ_M1:%=%.pod) : %.pod : gcc/java/gcj.texi
gfortran.pod: gcc/fortran/invoke.texi $(GCCVERS)
(cd gcc/fortran && $(TEXI2POD)) < $< > $@
+gccgo.pod: gcc/go/gccgo.texi $(GCCVERS)
+ (cd gcc/go && $(TEXI2POD)) < $< > $@
+
$(GCCVERS) :
(echo @set version-GCC $(FULLVER); \
echo @clear DEVELOPMENT; \
View
12 debian/control
@@ -83,3 +83,15 @@ Description: documentation for the GNU Java tools (gcj, gij)
This documentation is licensed under the terms of the GNU Free
Documentation License, and contains invariant sections, so it can't be
part of Debian main.
+
+Package: gccgo-4.6-doc
+Architecture: all
+Depends: gcc-doc-base (>= 4.1.1.nf3-1), ${misc:Depends}
+Suggests: doc-base
+Description: documentation for the GNU Go compiler (gccgo)
+ This package contains manual pages and documentation in info and
+ html format, for the GNU Go compiler.
+ .
+ This documentation is licensed under the terms of the GNU Free
+ Documentation License, and contains invariant sections, so it can't be
+ part of Debian main.
View
13 debian/gccgo-4.6-doc.doc-base
@@ -0,0 +1,13 @@
+Document: gccgo-4.6
+Title: The GNU Go compiler, version 4.6
+Author: Ian Lance Taylor
+Abstract: This manual documents how to use the GNU go compiler.
+Section: Programming
+
+Format: html
+Index: /usr/share/doc/gccgo-4.6-doc/gccgo.html
+Files: /usr/share/doc/gccgo-4.6-doc/gccgo.html
+
+Format: info
+Index: /usr/share/info/gccgo-4.6.info.gz
+Files: /usr/share/info/gccgo-4.6*
View
1 debian/gccgo-4.6-doc.docs
@@ -0,0 +1 @@
+gccgo.html
View
1 debian/gccgo-4.6-doc.info
@@ -0,0 +1 @@
+gccgo-4.6.info
View
1 debian/gccgo-4.6-doc.manpages
@@ -0,0 +1 @@
+gccgo-4.6.1

0 comments on commit b52bf32

Please sign in to comment.
Something went wrong with that request. Please try again.