| diff -aruN a/doc/Makefile b/doc/Makefile |
| --- a/doc/Makefile 2005-08-22 17:19:54.000000000 -0700 |
| +++ b/doc/Makefile 2010-11-11 10:51:09.130032921 -0800 |
| @@ -79,7 +79,7 @@ |
| fi; \ |
| base=`basename $${f} .$${s}`; \ |
| if [ "$${base}.$${s}" = "$$f" ]; then \ |
| - cp $$f ${MANDIR}/man$${s}/; \ |
| + install -m 664 $$f ${MANDIR}/man$${s}/; \ |
| fi; \ |
| done; \ |
| done |
| diff -aruN a/src/Makefile b/src/Makefile |
| --- a/src/Makefile 2010-11-11 10:29:01.965965108 -0800 |
| +++ b/src/Makefile 2010-11-11 10:49:21.618659334 -0800 |
| @@ -144,7 +144,7 @@ |
| if [ ! -d $(BASE)/include ]; then mkdir $(BASE)/include; fi |
| if [ ! -d $(BASE)/lib ]; then mkdir $(BASE)/lib; fi |
| cp $(EXES) $(BASE)/bin |
| - cp $(INCS) $(BASE)/include |
| + install -m 644 $(INCS) $(BASE)/include |
| cp $O/lmbench.a $(BASE)/lib/libmbench.a |
| cd ../doc; env MAKEFLAGS="$(MAKEFLAGS)" make CC="${CC}" OS="${OS}" BASE="$(BASE)" install |
| |