plan9port/unix/make/Makefile.mk

50 lines
656 B
Makefile
Raw Normal View History

TARG=mk
VERSION=2.0
PORTPLACE=devel/mk
NAME=mk
2005-01-16 21:32:01 +00:00
CLEANFILES=mk mk.1a
OFILES=\
arc.$O\
archive.$O\
bufblock.$O\
env.$O\
file.$O\
graph.$O\
job.$O\
lex.$O\
main.$O\
match.$O\
mk.$O\
parse.$O\
recipe.$O\
2005-01-14 03:45:44 +00:00
rc.$O\
rule.$O\
run.$O\
sh.$O\
2005-01-14 03:45:44 +00:00
shell.$O\
shprint.$O\
symtab.$O\
var.$O\
varsub.$O\
word.$O\
unix.$O\
HFILES=\
mk.h\
fns.h\
all: $(TARG)
TGZFILES+=mk.pdf
2005-01-23 22:58:02 +00:00
install: $(TARG)
2005-01-16 21:32:01 +00:00
mkdir -p $(PREFIX)/bin
install -m 0755 mk $(PREFIX)/bin/mk
cat mk.1 | sed 's;DOCPREFIX;$(PREFIX);g' >mk.1a
2005-01-16 21:32:01 +00:00
mkdir -p $(PREFIX)/man/man1
install -m 0644 mk.1a $(PREFIX)/man/man1/mk.1
2005-01-16 21:32:01 +00:00
mkdir -p $(PREFIX)/doc
install -m 0644 mk.pdf $(PREFIX)/doc/mk.pdf