aboutsummaryrefslogtreecommitdiffstats
path: root/eqn/eqn.d/Makefile.mk
diff options
context:
space:
mode:
Diffstat (limited to 'eqn/eqn.d/Makefile.mk')
-rw-r--r--eqn/eqn.d/Makefile.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/eqn/eqn.d/Makefile.mk b/eqn/eqn.d/Makefile.mk
index a02ba2525ef6..f426b86683ee 100644
--- a/eqn/eqn.d/Makefile.mk
+++ b/eqn/eqn.d/Makefile.mk
@@ -8,7 +8,7 @@ FLAGS = -I. -I.. -I../../include $(DEFINES)
.c.o:
$(CC) $(_CFLAGS) $(FLAGS) -c $<
-all: eqn
+all: eqn eqnchar.7
eqn: $(OBJ)
$(CC) $(_CFLAGS) $(_LDFLAGS) $(OBJ) $(LIBS) -o eqn
@@ -29,10 +29,13 @@ install:
$(INSTALL) -c -m 644 eqnchar.7 $(ROOT)$(MANDIR)/man7/eqnchar.7
clean:
- rm -f $(OBJ) eqn e.c y.tab.* core log *~
+ rm -f $(OBJ) eqn e.c y.tab.* core log *~ eqnchar.7
mrproper: clean
+eqnchar.7: eqnchar.7.in
+ sed 's"/usr/pub/"$(ROOT)$(PUBDIR)/"' eqnchar.7.in > $@
+
diacrit.o: ../diacrit.c ../e.h y.tab.h
eqnbox.o: ../eqnbox.c ../e.h
font.o: ../font.c ../e.h