~strahinja/ste

46cddec2efa3b07b6c90efc640c3ceb217b8a526 — Страхиња Радић 2 months ago d22f50b v0.7
config.mk: Add DESTDIR macro

Signed-off-by: Страхиња Радић <contact@strahinja.org>
2 files changed, 6 insertions(+), 6 deletions(-)

M INSTALL
M config.mk
M INSTALL => INSTALL +2 -2
@@ 42,6 42,6 @@ OpenBSD
Before running make(1), comment the MANPREFIX definition in config.mk above the
line with the "OpenBSD" comment and uncomment the one below it:

	#MANPREFIX	= $(PREFIX)/share/man
	#MANPREFIX	= $(DESTDIR)$(PREFIX)/share/man
	# OpenBSD
	MANPREFIX	= $(PREFIX)/man
	MANPREFIX	= $(DESTDIR)$(PREFIX)/man

M config.mk => config.mk +4 -4
@@ 4,11 4,11 @@ PROG		= ste
PROGS		= ste transpose tsvdel tsvedit tsvfind tsvins tsvmove tsvselect

# Derived macros
BINDIR		= $(PREFIX)/bin
DOCDIR		= $(PREFIX)/share/doc/$(PROG)
MANPREFIX	= $(PREFIX)/share/man
BINDIR		= $(DESTDIR)$(PREFIX)/bin
DOCDIR		= $(DESTDIR)$(PREFIX)/share/doc/$(PROG)
MANPREFIX	= $(DESTDIR)$(PREFIX)/share/man
# OpenBSD
#MANPREFIX	= $(PREFIX)/man
#MANPREFIX	= $(DESTDIR)$(PREFIX)/man
MANPAGE		= $(PROG).1
MANPAGES	= $(MANPAGE) transpose.1 tsvdel.1 tsvedit.1 tsvfind.1 \
		  tsvins.1 tsvmove.1 tsvselect.1