wok-next diff bzip2/stuff/patches/bzip2-1.0.6-install_docs-1.patch @ rev 21147
Update some WEB_SITE
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 27 21:28:56 2019 +0100 (2019-01-27) |
parents | c963361d3d54 |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/bzip2/stuff/patches/bzip2-1.0.6-install_docs-1.patch Sun Jan 27 21:28:56 2019 +0100 1.3 @@ -0,0 +1,42 @@ 1.4 +Submitted By: Matthew Burgess <matthew@linuxfromscratch.org> 1.5 +Date: 2007-01-31 1.6 +Initial Package Version: 1.0.4 1.7 +Upstream Status: Not submitted 1.8 +Origin: Randy McMurchy & Steve Crosby 1.9 +Description: Installs pre-formatted documentation 1.10 + 1.11 +diff -Naur bzip2-1.0.4.orig/Makefile bzip2-1.0.4/Makefile 1.12 +--- bzip2-1.0.4.orig/Makefile 2007-01-03 03:49:21.000000000 +0000 1.13 ++++ bzip2-1.0.4/Makefile 2007-01-26 20:00:01.000000000 +0000 1.14 +@@ -25,7 +25,7 @@ 1.15 + 1.16 + # Where you want it installed when you do 'make install' 1.17 + PREFIX=/usr/local 1.18 +- 1.19 ++DOCDIR=share/doc/$(DISTNAME) 1.20 + 1.21 + OBJS= blocksort.o \ 1.22 + huffman.o \ 1.23 +@@ -74,6 +74,7 @@ 1.24 + if ( test ! -d $(PREFIX)/lib ) ; then mkdir -p $(PREFIX)/lib ; fi 1.25 + if ( test ! -d $(PREFIX)/man ) ; then mkdir -p $(PREFIX)/man ; fi 1.26 + if ( test ! -d $(PREFIX)/man/man1 ) ; then mkdir -p $(PREFIX)/man/man1 ; fi 1.27 ++ if ( test ! -d $(PREFIX)/$(DOCDIR) ) ; then mkdir -p $(PREFIX)/$(DOCDIR); fi 1.28 + if ( test ! -d $(PREFIX)/include ) ; then mkdir -p $(PREFIX)/include ; fi 1.29 + cp -f bzip2 $(PREFIX)/bin/bzip2 1.30 + cp -f bzip2 $(PREFIX)/bin/bunzip2 1.31 +@@ -107,6 +108,14 @@ 1.32 + echo ".so man1/bzgrep.1" > $(PREFIX)/man/man1/bzfgrep.1 1.33 + echo ".so man1/bzmore.1" > $(PREFIX)/man/man1/bzless.1 1.34 + echo ".so man1/bzdiff.1" > $(PREFIX)/man/man1/bzcmp.1 1.35 ++ cp -f manual.html $(PREFIX)/$(DOCDIR) 1.36 ++ cp -f manual.pdf $(PREFIX)/$(DOCDIR) 1.37 ++ cp -f manual.ps $(PREFIX)/$(DOCDIR) 1.38 ++ cp -f bzip2.txt $(PREFIX)/$(DOCDIR) 1.39 ++ chmod a+r $(PREFIX)/$(DOCDIR)/manual.html 1.40 ++ chmod a+r $(PREFIX)/$(DOCDIR)/manual.pdf 1.41 ++ chmod a+r $(PREFIX)/$(DOCDIR)/manual.ps 1.42 ++ chmod a+r $(PREFIX)/$(DOCDIR)/bzip2.txt 1.43 + 1.44 + clean: 1.45 + rm -f *.o libbz2.a bzip2 bzip2recover \