wok-next annotate bzip2/stuff/patches/bzip2-1.0.6-install_docs-1.patch @ rev 21724

busybox: update configs
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 11:04:25 2020 +0000 (2020-09-01)
parents c963361d3d54
children
rev   line source
al@19561 1 Submitted By: Matthew Burgess <matthew@linuxfromscratch.org>
al@19561 2 Date: 2007-01-31
al@19561 3 Initial Package Version: 1.0.4
al@19561 4 Upstream Status: Not submitted
al@19561 5 Origin: Randy McMurchy & Steve Crosby
al@19561 6 Description: Installs pre-formatted documentation
al@19561 7
al@19561 8 diff -Naur bzip2-1.0.4.orig/Makefile bzip2-1.0.4/Makefile
al@19561 9 --- bzip2-1.0.4.orig/Makefile 2007-01-03 03:49:21.000000000 +0000
al@19561 10 +++ bzip2-1.0.4/Makefile 2007-01-26 20:00:01.000000000 +0000
al@19561 11 @@ -25,7 +25,7 @@
al@19561 12
al@19561 13 # Where you want it installed when you do 'make install'
al@19561 14 PREFIX=/usr/local
al@19561 15 -
al@19561 16 +DOCDIR=share/doc/$(DISTNAME)
al@19561 17
al@19561 18 OBJS= blocksort.o \
al@19561 19 huffman.o \
al@19561 20 @@ -74,6 +74,7 @@
al@19561 21 if ( test ! -d $(PREFIX)/lib ) ; then mkdir -p $(PREFIX)/lib ; fi
al@19561 22 if ( test ! -d $(PREFIX)/man ) ; then mkdir -p $(PREFIX)/man ; fi
al@19561 23 if ( test ! -d $(PREFIX)/man/man1 ) ; then mkdir -p $(PREFIX)/man/man1 ; fi
al@19561 24 + if ( test ! -d $(PREFIX)/$(DOCDIR) ) ; then mkdir -p $(PREFIX)/$(DOCDIR); fi
al@19561 25 if ( test ! -d $(PREFIX)/include ) ; then mkdir -p $(PREFIX)/include ; fi
al@19561 26 cp -f bzip2 $(PREFIX)/bin/bzip2
al@19561 27 cp -f bzip2 $(PREFIX)/bin/bunzip2
al@19561 28 @@ -107,6 +108,14 @@
al@19561 29 echo ".so man1/bzgrep.1" > $(PREFIX)/man/man1/bzfgrep.1
al@19561 30 echo ".so man1/bzmore.1" > $(PREFIX)/man/man1/bzless.1
al@19561 31 echo ".so man1/bzdiff.1" > $(PREFIX)/man/man1/bzcmp.1
al@19561 32 + cp -f manual.html $(PREFIX)/$(DOCDIR)
al@19561 33 + cp -f manual.pdf $(PREFIX)/$(DOCDIR)
al@19561 34 + cp -f manual.ps $(PREFIX)/$(DOCDIR)
al@19561 35 + cp -f bzip2.txt $(PREFIX)/$(DOCDIR)
al@19561 36 + chmod a+r $(PREFIX)/$(DOCDIR)/manual.html
al@19561 37 + chmod a+r $(PREFIX)/$(DOCDIR)/manual.pdf
al@19561 38 + chmod a+r $(PREFIX)/$(DOCDIR)/manual.ps
al@19561 39 + chmod a+r $(PREFIX)/$(DOCDIR)/bzip2.txt
al@19561 40
al@19561 41 clean:
al@19561 42 rm -f *.o libbz2.a bzip2 bzip2recover \