$OpenBSD: patch-Makefile,v 1.1.1.1 2006/01/30 13:29:00 steven Exp $ --- Makefile.orig Mon Sep 12 15:39:55 2005 +++ Makefile Tue Jan 24 10:11:54 2006 @@ -1,11 +1,11 @@ ## There is no need to have DESTDIR separately since no file has paths coded ## in them. Just "make prefix=/my/path/usr install" when creating a package. -prefix = /usr/local +prefix = $(PREFIX) bindir = $(prefix)/bin mandir = $(prefix)/man -docdir = $(prefix)/doc -docdir_name = lzma-4.27.1 +docdir = $(prefix)/share/doc +docdir_name = lzma INSTALL = install RM = rm -f @@ -20,8 +20,7 @@ sdk: cd sdk/SRC/7zip/Compress/LZMA_Alone && $(MAKE) install: all - $(INSTALL) -dm 0755 $(bindir) $(mandir)/man1 \ - $(docdir)/$(docdir_name) + $(INSTALL) -dm 0755 $(bindir) $(mandir)/man1 $(INSTALL) -pm 0755 utils/lzmadec utils/lzmainfo \ utils/lzmash utils/lzdiff utils/lzmore utils/lzgrep \ sdk/SRC/7zip/Compress/LZMA_Alone/lzma \ @@ -29,9 +28,6 @@ install: all $(INSTALL) -pm 0644 man/lzma.1 man/lzmadec.1 man/lzmainfo.1 \ man/lzmash.1 man/lzdiff.1 man/lzgrep.1 man/lzmore.1 \ $(mandir)/man1 - $(INSTALL) -pm 0644 BENCHMARKS COPYING.GPL COPYING.LGPL INSTALL \ - README README.LICENSES THANKS TODO sdk/lzma.txt \ - $(docdir)/$(docdir_name) $(LN) lzmash $(bindir)/lunzmash $(LN) lzmash $(bindir)/lzcat $(LN) lzdiff $(bindir)/lzcmp