aboutsummaryrefslogtreecommitdiffstats
path: root/vgrind/Makefile.mk
diff options
context:
space:
mode:
Diffstat (limited to 'vgrind/Makefile.mk')
-rw-r--r--vgrind/Makefile.mk8
1 files changed, 6 insertions, 2 deletions
diff --git a/vgrind/Makefile.mk b/vgrind/Makefile.mk
index 9ad1c5eec9e4..148c78438109 100644
--- a/vgrind/Makefile.mk
+++ b/vgrind/Makefile.mk
@@ -5,7 +5,7 @@ FLAGS = $(EUC) -DLIBDIR='"$(LIBDIR)"' $(DEFINES) -I../include
.c.o:
$(CC) $(_CFLAGS) $(FLAGS) -c $<
-all: vgrind vfontedpr
+all: vgrind vfontedpr vgrind.1
vfontedpr: $(OBJ)
$(CC) $(_CFLAGS) $(_LDFLAGS) $(OBJ) $(LIBS) -o vfontedpr
@@ -29,6 +29,10 @@ install:
$(INSTALL) -c -m 644 vgrind.1 $(ROOT)$(MANDIR)/man1/vgrind.1
clean:
- rm -f $(OBJ) vfontedpr vgrind retest retest.o core log *~
+ rm -f $(OBJ) vfontedpr vgrind retest retest.o core log *~ vgrind.1
mrproper: clean
+
+vgrind.1: vgrind.1.in
+ sed -e 's"/usr/ucblib/tmac/"$(ROOT)$(MACDIR)/"' \
+ -e 's"/usr/ucblib/"$(ROOT)$(LIBDIR)/"' vgrind.1.in > $@