diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2016-10-06 21:30:09 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2016-10-06 21:30:09 +0000 |
commit | aa7798c94fa57f6c00fab4393c9fe91334864371 (patch) | |
tree | 61b5a60e9c086b1ba44b4718e7666304a8edab6f /troff/troff.d/font/devhtml/Makefile.mk | |
download | src-aa7798c94fa57f6c00fab4393c9fe91334864371.tar.gz src-aa7798c94fa57f6c00fab4393c9fe91334864371.zip |
Import heirloom doctools snapshot from git as of 161006vendor/heirloom-doctools/20161006
Notes
Notes:
svn path=/vendor/heirloom-doctools/dist/; revision=306788
svn path=/vendor/heirloom-doctools/20161006/; revision=306789; tag=vendor/heirloom-doctools/20161006
Diffstat (limited to 'troff/troff.d/font/devhtml/Makefile.mk')
-rw-r--r-- | troff/troff.d/font/devhtml/Makefile.mk | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/troff/troff.d/font/devhtml/Makefile.mk b/troff/troff.d/font/devhtml/Makefile.mk new file mode 100644 index 000000000000..12d19bcb9bb8 --- /dev/null +++ b/troff/troff.d/font/devhtml/Makefile.mk @@ -0,0 +1,23 @@ +BIN= makefont +OBJS= $(BIN).o +FONTS= R I B BI C CW CR CI CB H HI HB S + +all: $(BIN) + +install: + d=$(ROOT)$(FNTDIR)/devhtml; test -d $$d || mkdir $$d; \ + install -m 644 CHAR DESC $$d/; \ + echo charset >> $$d/DESC; \ + 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) + +mrproper: clean + +$(BIN): $(OBJS) + $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $(OBJS) -o $@ |