File: Makefile

package info (click to toggle)
9base 1%3A6-7
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 5,376 kB
  • sloc: ansic: 61,051; yacc: 1,991; asm: 1,621; cs: 1,150; perl: 965; makefile: 613; sh: 12; sed: 4
file content (23 lines) | stat: -rw-r--r-- 715 bytes parent folder | download | duplicates (8)
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}