9base

revived minimalist port of Plan 9 userland to Unix
git clone git://git.suckless.org/9base
Log | Files | Refs | README | LICENSE

Makefile (715B)


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