This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

No longer inlude the FAQ as part of releases (was: --with-pkgversion --with-bugurl patch)


5AOn Sun, 9 Sep 2007, Joseph S. Myers wrote:
>> Which ones do you have in mind?  It's mostly the FAQ, which in itself
>> really isn't all that useful at this point and hasn't for a while, right?
> The FAQ and the text versions of release notes in the NEWS file.

What do you think about the following patch, Joseph?

This is the next step I'd make for now, and I double checked that the
GNU coding standards do not prescribe (nor even recommend) including an
FAQ into the tarball.

Gerald


2007-09-16  Gerald Pfeifer  <gerald@pfeifer.com>

	* gcc_release: Do not include copies of faq.html in releases,
	and remove all the explicit support code to pull in web pages.

Index: gcc_release
===================================================================
--- gcc_release	(revision 128529)
+++ gcc_release	(working copy)
@@ -193,26 +193,6 @@
   contrib/gcc_update --touch
   echo "Obtained from SVN: ${SVNBRANCH} revision ${SVNREV}" > LAST_UPDATED
 
-  # Obtain some documentation files from the wwwdocs module.
-  inform "Retrieving HTML documentation"
-  changedir "${WORKING_DIRECTORY}"
-  for x in faq; do
-    (${CVS} export -r HEAD wwwdocs/htdocs/${x}.html && \
-     cp ${WORKING_DIRECTORY}/wwwdocs/htdocs/${x}.html \
-        ${SOURCE_DIRECTORY}) || \
-      error "Could not retrieve ${x}.html"
-  done
-
-  inform "Generating plain-text documentation from HTML"
-  changedir "${SOURCE_DIRECTORY}"
-  for file in *.html; do
-    newfile=`echo $file | sed -e 's/.html//' | tr "[:lower:]" "[:upper:]"`
-    (${ENV} TERM=vt100 lynx -dump $file \
-       | sed -e "s#file://localhost`/bin/pwd`\(.*\)#http://gcc.gnu.org\1#g"; \
-       > $newfile) || \
-     error "Could not generate text-only version of ${file}"
-  done
-
   # For a prerelease or real release, we need to generate additional
   # files not present in SVN.
   changedir "${SOURCE_DIRECTORY}"


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]