aboutsummaryrefslogtreecommitdiffstats
path: root/refer/Makefile.mk
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2016-12-25 17:53:10 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2016-12-25 17:53:10 +0000
commit80647123fe63c15caa93687028a45f9efee5b669 (patch)
tree6fe6df04e4b2cd506323ad2994b9527dd1ed7193 /refer/Makefile.mk
parent6db6db4b7f38f7760b90ec861a39b5ccb9df5ba9 (diff)
downloadsrc-80647123fe63c15caa93687028a45f9efee5b669.tar.gz
src-80647123fe63c15caa93687028a45f9efee5b669.zip
Notes
Notes: svn path=/vendor/heirloom-doctools/dist/; revision=310550 svn path=/vendor/heirloom-doctools/20161106/; revision=310551; tag=vendor/heirloom-doctools/20161106
Diffstat (limited to 'refer/Makefile.mk')
-rw-r--r--refer/Makefile.mk14
1 files changed, 12 insertions, 2 deletions
diff --git a/refer/Makefile.mk b/refer/Makefile.mk
index 2c5761825339..e6f933b48685 100644
--- a/refer/Makefile.mk
+++ b/refer/Makefile.mk
@@ -17,7 +17,8 @@ FLAGS = -DMACDIR='"$(MACDIR)"' -DREFDIR='"$(REFDIR)"' $(EUC) $(DEFINES) \
.c.o:
$(CC) $(_CFLAGS) $(FLAGS) -c $<
-all: refer addbib lookbib sortbib roffbib indxbib mkey inv hunt papers/runinv
+all: refer addbib lookbib sortbib roffbib indxbib mkey inv hunt papers/runinv \
+ lookbib.1 refer.1 roffbib.1
cd papers && PATH=..:$$PATH sh runinv
refer: $(ROBJ)
@@ -89,10 +90,19 @@ clean:
rm -f $(ROBJ) refer $(AOBJ) addbib $(LOBJ) lookbib \
$(SOBJ) sortbib roffbib indxbib $(MOBJ) mkey \
$(IOBJ) inv $(HOBJ) hunt papers/runinv core log *~ \
- papers/Ind.i?
+ papers/Ind.i? lookbib.1 refer.1 roffbib.1
mrproper: clean
+lookbib.1: lookbib.1.in
+ sed 's"/usr/ucblib/reftools/"$(ROOT)$(REFDIR)/"' lookbib.1.in > $@
+
+refer.1: refer.1.in
+ sed 's"/usr/ucblib/reftools/"$(ROOT)$(REFDIR)/"' refer.1.in > $@
+
+roffbib.1: roffbib.1.in
+ sed 's"/usr/ucblib/doctools/tmac/"$(ROOT)$(MACDIR)/"' roffbib.1.in > $@
+
addbib.o: addbib.c
deliv2.o: deliv2.c refer..c
glue1.o: glue1.c refer..c