1 Submitted By: Matthew Burgess <matthew@linuxfromscratch.org>
3 Initial Package Version: 1.0.4
4 Upstream Status: Not submitted
5 Origin: Randy McMurchy & Steve Crosby
6 Description: Installs pre-formatted documentation
8 diff -Naur bzip2-1.0.4.orig/Makefile bzip2-1.0.4/Makefile
9 --- bzip2-1.0.4.orig/Makefile 2007-01-03 03:49:21.000000000 +0000
10 +++ bzip2-1.0.4/Makefile 2007-01-26 20:00:01.000000000 +0000
13 # Where you want it installed when you do 'make install'
16 +DOCDIR=share/doc/$(DISTNAME)
21 if ( test ! -d $(PREFIX)/lib ) ; then mkdir -p $(PREFIX)/lib ; fi
22 if ( test ! -d $(PREFIX)/man ) ; then mkdir -p $(PREFIX)/man ; fi
23 if ( test ! -d $(PREFIX)/man/man1 ) ; then mkdir -p $(PREFIX)/man/man1 ; fi
24 + if ( test ! -d $(PREFIX)/$(DOCDIR) ) ; then mkdir -p $(PREFIX)/$(DOCDIR); fi
25 if ( test ! -d $(PREFIX)/include ) ; then mkdir -p $(PREFIX)/include ; fi
26 cp -f bzip2 $(PREFIX)/bin/bzip2
27 cp -f bzip2 $(PREFIX)/bin/bunzip2
29 echo ".so man1/bzgrep.1" > $(PREFIX)/man/man1/bzfgrep.1
30 echo ".so man1/bzmore.1" > $(PREFIX)/man/man1/bzless.1
31 echo ".so man1/bzdiff.1" > $(PREFIX)/man/man1/bzcmp.1
32 + cp -f manual.html $(PREFIX)/$(DOCDIR)
33 + cp -f manual.pdf $(PREFIX)/$(DOCDIR)
34 + cp -f manual.ps $(PREFIX)/$(DOCDIR)
35 + cp -f bzip2.txt $(PREFIX)/$(DOCDIR)
36 + chmod a+r $(PREFIX)/$(DOCDIR)/manual.html
37 + chmod a+r $(PREFIX)/$(DOCDIR)/manual.pdf
38 + chmod a+r $(PREFIX)/$(DOCDIR)/manual.ps
39 + chmod a+r $(PREFIX)/$(DOCDIR)/bzip2.txt
42 rm -f *.o libbz2.a bzip2 bzip2recover \