source: patches/bzip2-1.0.3-install_docs-1.patch@ 8c66ff2

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 8c66ff2 was 69cde8d, checked in by Jim Gifford <clfs@…>, 19 years ago

Added: All patches needed for the book.

  • Property mode set to 100644
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  
    1212
    1313# Where you want it installed when you do 'make install'
    1414PREFIX=/usr
     15DOCDIR=share/doc/$(DISTNAME)
    1516
    1617
    1718OBJS= blocksort.o  \
     
    6162        if ( test ! -d $(PREFIX)/lib ) ; then mkdir -p $(PREFIX)/lib ; fi
    6263        if ( test ! -d $(PREFIX)/man ) ; then mkdir -p $(PREFIX)/man ; fi
    6364        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
    6466        if ( test ! -d $(PREFIX)/include ) ; then mkdir -p $(PREFIX)/include ; fi
    6567        cp -f bzip2 $(PREFIX)/bin/bzip2
    6668        cp -f bzip2 $(PREFIX)/bin/bunzip2
     
    9496        echo ".so man1/bzgrep.1" > $(PREFIX)/man/man1/bzfgrep.1
    9597        echo ".so man1/bzmore.1" > $(PREFIX)/man/man1/bzless.1
    9698        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
    97107
    98108clean:
    99109        rm -f *.o libbz2.a bzip2 bzip2recover \
Note: See TracBrowser for help on using the repository browser.