1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
# mk - mk unix port from plan9
# Depends on ../lib9
TARG = troff
OFILES = n1.o n2.o n3.o n4.o n5.o t6.o n6.o n7.o n8.o n9.o t10.o\
n10.o t11.o ni.o hytab.o suftab.o dwbinit.o mbwc.o
MANFILES = troff.1
TROFFDIR = ${PREFIX}/lib/troff
include ../std.mk
CFLAGS += -DUNICODE -DTMACDIR=\"/tmac/tmac.\" -DTDEVNAME=\"utf\" -DFONTDIR=\"/font\" -DNTERMDIR=\"/term/tab.\" -DTEXHYPHENS=\"/hyphen.tex\" -DALTHYPHENS=\"/hyphen.tex\" -DDWBHOME=\"${TROFFDIR}/\"
pre-uninstall:
@rm -rf ${DESTDIR}${TROFFDIR}
post-install:
@mkdir -p ${DESTDIR}${TROFFDIR}
@cp -r tmac ${DESTDIR}${TROFFDIR}
@cp -r font ${DESTDIR}${TROFFDIR}
@cp -r term ${DESTDIR}${TROFFDIR}
@cp -r hyphen.tex ${DESTDIR}${TROFFDIR}
|