diff options
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 41a74b5d9f18e..665b77049bb16 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 |