Ticket #11272: patch-Makefile-man.diff
File patch-Makefile-man.diff, 2.1 KB (added by pipping@…, 18 years ago) |
---|
-
Makefile
old new 72 72 install: bzip2 bzip2recover 73 73 if ( test ! -d $(PREFIX)/bin ) ; then mkdir -p $(PREFIX)/bin ; fi 74 74 if ( test ! -d $(PREFIX)/lib ) ; then mkdir -p $(PREFIX)/lib ; fi 75 if ( test ! -d $(PREFIX)/ man ) ; then mkdir -p $(PREFIX)/man ; fi76 if ( test ! -d $(PREFIX)/ man/man1 ) ; then mkdir -p $(PREFIX)/man/man1 ; fi75 if ( test ! -d $(PREFIX)/share/man ) ; then mkdir -p $(PREFIX)/share/man ; fi 76 if ( test ! -d $(PREFIX)/share/man/man1 ) ; then mkdir -p $(PREFIX)/share/man/man1 ; fi 77 77 if ( test ! -d $(PREFIX)/include ) ; then mkdir -p $(PREFIX)/include ; fi 78 78 cp -f bzip2 $(PREFIX)/bin/bzip2 79 79 cp -f bzip2 $(PREFIX)/bin/bunzip2 … … 83 83 chmod a+x $(PREFIX)/bin/bunzip2 84 84 chmod a+x $(PREFIX)/bin/bzcat 85 85 chmod a+x $(PREFIX)/bin/bzip2recover 86 cp -f bzip2.1 $(PREFIX)/ man/man187 chmod a+r $(PREFIX)/ man/man1/bzip2.186 cp -f bzip2.1 $(PREFIX)/share/man/man1 87 chmod a+r $(PREFIX)/share/man/man1/bzip2.1 88 88 cp -f bzlib.h $(PREFIX)/include 89 89 chmod a+r $(PREFIX)/include/bzlib.h 90 90 cp -f libbz2.a $(PREFIX)/lib … … 99 99 cp -f bzdiff $(PREFIX)/bin/bzdiff 100 100 ln -s -f $(PREFIX)/bin/bzdiff $(PREFIX)/bin/bzcmp 101 101 chmod a+x $(PREFIX)/bin/bzdiff 102 cp -f bzgrep.1 bzmore.1 bzdiff.1 $(PREFIX)/ man/man1103 chmod a+r $(PREFIX)/ man/man1/bzgrep.1104 chmod a+r $(PREFIX)/ man/man1/bzmore.1105 chmod a+r $(PREFIX)/ man/man1/bzdiff.1106 echo ".so man1/bzgrep.1" > $(PREFIX)/ man/man1/bzegrep.1107 echo ".so man1/bzgrep.1" > $(PREFIX)/ man/man1/bzfgrep.1108 echo ".so man1/bzmore.1" > $(PREFIX)/ man/man1/bzless.1109 echo ".so man1/bzdiff.1" > $(PREFIX)/ man/man1/bzcmp.1102 cp -f bzgrep.1 bzmore.1 bzdiff.1 $(PREFIX)/share/man/man1 103 chmod a+r $(PREFIX)/share/man/man1/bzgrep.1 104 chmod a+r $(PREFIX)/share/man/man1/bzmore.1 105 chmod a+r $(PREFIX)/share/man/man1/bzdiff.1 106 echo ".so man1/bzgrep.1" > $(PREFIX)/share/man/man1/bzegrep.1 107 echo ".so man1/bzgrep.1" > $(PREFIX)/share/man/man1/bzfgrep.1 108 echo ".so man1/bzmore.1" > $(PREFIX)/share/man/man1/bzless.1 109 echo ".so man1/bzdiff.1" > $(PREFIX)/share/man/man1/bzcmp.1 110 110 111 111 clean: 112 112 rm -f *.o libbz2.a bzip2 bzip2recover \