diff options
| author | Baptiste Daroussin <bapt@FreeBSD.org> | 2016-12-25 17:53:10 +0000 |
|---|---|---|
| committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2016-12-25 17:53:10 +0000 |
| commit | 80647123fe63c15caa93687028a45f9efee5b669 (patch) | |
| tree | 6fe6df04e4b2cd506323ad2994b9527dd1ed7193 /troff/troff.d/font/devhtml/Makefile.mk | |
| parent | 6db6db4b7f38f7760b90ec861a39b5ccb9df5ba9 (diff) | |
Import heirloom doctools 2016-11-06vendor/heirloom-doctools/20161106vendor/heirloom-doctools
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 'troff/troff.d/font/devhtml/Makefile.mk')
| -rw-r--r-- | troff/troff.d/font/devhtml/Makefile.mk | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/troff/troff.d/font/devhtml/Makefile.mk b/troff/troff.d/font/devhtml/Makefile.mk index 41a74b5d9f18..665b77049bb1 100644 --- a/troff/troff.d/font/devhtml/Makefile.mk +++ b/troff/troff.d/font/devhtml/Makefile.mk @@ -2,7 +2,12 @@ BIN= makefont OBJS= $(BIN).o FONTS= R I B BI C CW CR CI CB H HI HB S -all: $(BIN) +.SUFFIXES: .in +.in: ${BIN} + cat $< > $@ + ./${BIN} $@ >> $@ + +all: $(BIN) ${FONTS} install: d=$(ROOT)$(FNTDIR)/devhtml; test -d $$d || mkdir $$d; \ @@ -11,11 +16,10 @@ install: sed '1,2d;s/[[:space:]].*//' charset >> $$d/DESC; \ for i in $(FONTS); do \ install -m 644 $$i $$d/; \ - ./$(BIN) $$i >> $$d/$$i; \ done clean: - rm -rf $(BIN) $(OBJS) + rm -rf $(BIN) $(OBJS) $(FONTS) mrproper: clean |
