source:
patches/bzip2-1.0.3-install_docs-1.patch@
9c06b5e6
Last change on this file since 9c06b5e6 was 69cde8d, checked in by , 19 years ago | |
---|---|
|
|
File size: 1.6 KB |
-
bzip2-1.0.3
Submitted By: Matthew Burgess <matthew@linuxfromscratch.org> Date: 2005-08-03 Initial Package Version: 1.0.3 Upstream Status: Not submitted Origin: Randy McMurchy & Steve Crosby Description: Installs pre-formatted documentation diff -Naur bzip2-1.0.3.orig/Makefile bzip2-1.0.3/Makefile
old new 12 12 13 13 # Where you want it installed when you do 'make install' 14 14 PREFIX=/usr 15 DOCDIR=share/doc/$(DISTNAME) 15 16 16 17 17 18 OBJS= blocksort.o \ … … 61 62 if ( test ! -d $(PREFIX)/lib ) ; then mkdir -p $(PREFIX)/lib ; fi 62 63 if ( test ! -d $(PREFIX)/man ) ; then mkdir -p $(PREFIX)/man ; fi 63 64 if ( test ! -d $(PREFIX)/man/man1 ) ; then mkdir -p $(PREFIX)/man/man1 ; fi 65 if ( test ! -d $(PREFIX)/$(DOCDIR) ) ; then mkdir -p $(PREFIX)/$(DOCDIR); fi 64 66 if ( test ! -d $(PREFIX)/include ) ; then mkdir -p $(PREFIX)/include ; fi 65 67 cp -f bzip2 $(PREFIX)/bin/bzip2 66 68 cp -f bzip2 $(PREFIX)/bin/bunzip2 … … 94 96 echo ".so man1/bzgrep.1" > $(PREFIX)/man/man1/bzfgrep.1 95 97 echo ".so man1/bzmore.1" > $(PREFIX)/man/man1/bzless.1 96 98 echo ".so man1/bzdiff.1" > $(PREFIX)/man/man1/bzcmp.1 99 cp -f manual.html $(PREFIX)/$(DOCDIR) 100 cp -f manual.pdf $(PREFIX)/$(DOCDIR) 101 cp -f manual.ps $(PREFIX)/$(DOCDIR) 102 cp -f bzip2.txt $(PREFIX)/$(DOCDIR) 103 chmod a+r $(PREFIX)/$(DOCDIR)/manual.html 104 chmod a+r $(PREFIX)/$(DOCDIR)/manual.pdf 105 chmod a+r $(PREFIX)/$(DOCDIR)/manual.ps 106 chmod a+r $(PREFIX)/$(DOCDIR)/bzip2.txt 97 107 98 108 clean: 99 109 rm -f *.o libbz2.a bzip2 bzip2recover \
Note:
See TracBrowser
for help on using the repository browser.