Don't allow clobbering of troff's CFLAGS by config.mk - 9base - revived minimalist port of Plan 9 userland to Unix
HTML git clone git://git.suckless.org/9base
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 244b935e44cbdc4d361135bf83c083688b943eb4
DIR parent f71961be90faae365d90c29f96c0c1dd309953d2
HTML Author: Kris Maglione <jg@suckless.org>
Date: Thu, 15 Oct 2009 16:35:28 -0400
Don't allow clobbering of troff's CFLAGS by config.mk
Diffstat:
M troff/Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
DIR diff --git a/troff/Makefile b/troff/Makefile
@@ -8,10 +8,10 @@ OFILES = n1.o n2.o n3.o n4.o n5.o t6.o n6.o n7.o n8.o n9.o t10.o\
MANFILES = troff.1
TROFFDIR = ${PREFIX}/lib/troff
-CFLAGS += -DUNICODE -DTMACDIR=\"/tmac/tmac.\" -DTDEVNAME=\"utf\" -DFONTDIR=\"/font\" -DNTERMDIR=\"/term/tab.\" -DTEXHYPHENS=\"/hyphen.tex\" -DALTHYPHENS=\"/hyphen.tex\" -DDWBHOME=\"${TROFFDIR}/\"
-
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}