Hi all, There is a manual in html, pdf and ps formats along with a bzip2.txt file included in the Bzip2 source tree. This documentation is not installed in the default installation.
Attached is a patch that can be installed using the LFS conventional method of 'patch -Np1 -i ../patchname' which will install the docs to /usr/share/doc/bzip2-1.0.3. I suggest this patch is incorporated into the default LFS builds. Keep in mind that this patch will require some maintenance when the Bzip2 package is updated, as the version number is hard-wired into the patch. I couldn't find any version entity or anything in the Makefile that I could reference to get a version number. -- Randy rmlscsi: [GNU ld version 2.15.94.0.2 20041220] [gcc (GCC) 3.4.3] [GNU C Library stable release version 2.3.4] [Linux 2.6.10 i686] 21:58:00 up 123 days, 21:31, 2 users, load average: 0.02, 0.02, 0.02
Submitted By: Randy McMurchy <randy_at_linuxfromscratch_dot_org> Date: 2005-08-03 Initial Package Version: 1.0.3 Upstream Status: Not submitted Origin: Randy McMurchy Description: Installs pre-formatted documentation diff -Naur bzip2-1.0.3-orig/Makefile bzip2-1.0.3/Makefile --- bzip2-1.0.3-orig/Makefile 2005-02-17 11:28:24.000000000 +0000 +++ bzip2-1.0.3/Makefile 2005-08-04 02:42:10.000000000 +0000 @@ -62,6 +62,7 @@ if ( test ! -d $(PREFIX)/man ) ; then mkdir -p $(PREFIX)/man ; fi if ( test ! -d $(PREFIX)/man/man1 ) ; then mkdir -p $(PREFIX)/man/man1 ; fi if ( test ! -d $(PREFIX)/include ) ; then mkdir -p $(PREFIX)/include ; fi + if ( test ! -d $(PREFIX)/share/doc/bzip2-1.0.3 ) ; then mkdir -p $(PREFIX)/share/doc/bzip2-1.0.3 ; fi cp -f bzip2 $(PREFIX)/bin/bzip2 cp -f bzip2 $(PREFIX)/bin/bunzip2 cp -f bzip2 $(PREFIX)/bin/bzcat @@ -94,6 +95,14 @@ echo ".so man1/bzgrep.1" > $(PREFIX)/man/man1/bzfgrep.1 echo ".so man1/bzmore.1" > $(PREFIX)/man/man1/bzless.1 echo ".so man1/bzdiff.1" > $(PREFIX)/man/man1/bzcmp.1 + cp -f manual.html $(PREFIX)/share/doc/bzip2-1.0.3 + cp -f manual.pdf $(PREFIX)/share/doc/bzip2-1.0.3 + cp -f manual.ps $(PREFIX)/share/doc/bzip2-1.0.3 + cp -f bzip2.txt $(PREFIX)/share/doc/bzip2-1.0.3 + chmod a+r $(PREFIX)/share/doc/bzip2-1.0.3/manual.html + chmod a+r $(PREFIX)/share/doc/bzip2-1.0.3/manual.pdf + chmod a+r $(PREFIX)/share/doc/bzip2-1.0.3/manual.ps + chmod a+r $(PREFIX)/share/doc/bzip2-1.0.3/bzip2.txt clean: rm -f *.o libbz2.a bzip2 bzip2recover \
-- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page