openbsd-ports/devel/mk/patches/patch-Makefile

17 lines
553 B
Plaintext
Raw Normal View History

2003-02-16 10:13:14 -05:00
--- Makefile.orig Sun Feb 16 16:06:04 2003
+++ Makefile Sun Feb 16 16:07:26 2003
@@ -57,11 +57,11 @@
install: $(LIB)
test -d $(PREFIX)/man/man1 || mkdir $(PREFIX)/man/man1
- test -d $(PREFIX)/doc || mkdir $(PREFIX)/doc
+ test -d $(PREFIX)/share/doc/mk || mkdir -p $(PREFIX)/share/doc/mk
install -m 0755 mk $(PREFIX)/bin/mk
cat mk.1 | sed 's;DOCPREFIX;$(PREFIX);g' >mk.1a
install -m 0644 mk.1a $(PREFIX)/man/man1/mk.1
- install -m 0644 mk.pdf $(PREFIX)/doc/mk.pdf
+ install -m 0644 mk.pdf $(PREFIX)/share/doc/mk/mk.pdf
$(TARG): $(OFILES)