aboutsummaryrefslogtreecommitdiffstats
path: root/troff/troff.d/Makefile.mk
diff options
context:
space:
mode:
Diffstat (limited to 'troff/troff.d/Makefile.mk')
-rw-r--r--troff/troff.d/Makefile.mk9
1 files changed, 7 insertions, 2 deletions
diff --git a/troff/troff.d/Makefile.mk b/troff/troff.d/Makefile.mk
index 1cddedf88880..87de1c911acf 100644
--- a/troff/troff.d/Makefile.mk
+++ b/troff/troff.d/Makefile.mk
@@ -12,7 +12,7 @@ FLAGS = -DUSG $(EUC) -I. -I.. -I../../include -DMACDIR='"$(MACDIR)"' \
.c.o:
$(CC) $(_CFLAGS) $(FLAGS) -c $<
-all: troff ta otfdump
+all: troff ta otfdump troff.1
troff: $(OBJ) $(LIBHNJ)/libhnj.a
$(CC) $(_CFLAGS) $(_LDFLAGS) $(OBJ) -L$(LIBHNJ) -lhnj $(LIBS) -o troff
@@ -35,10 +35,15 @@ install:
clean:
rm -f $(OBJ) draw.o ta.o troff ta otfdump otfdump.o otfdump_vs.o \
- core log *~
+ core log *~ troff.1
mrproper: clean
+troff.1: troff.1.in
+ sed -e 's"/usr/ucblib/doctools/font/"$(ROOT)$(FNTDIR)/"' \
+ -e 's"/usr/ucblib/doctools/tmac/"$(ROOT)$(MACDIR)/"' \
+ troff.1.in > $@
+
draw.o: draw.c
makedev.o: makedev.c dev.h
t10.o: t10.c ../tdef.h ../ext.h dev.h afm.h unimap.h troff.h