miller/man6/Makefile
John Kerl 4f1424789e
Doc6 proofreads 3 (#638)
* Docs6 proofreads batch 3

* BUild-everything script for local development

* Start of glossary

* Put quicklinks atop every page, not just the base-index page

* Expanded record-heterogeneity page

* streaming page

* separators page

* vimrc doc

* separators page
2021-09-03 23:19:32 -04:00

24 lines
795 B
Makefile

# Respective MANPATH entries would include /usr/local/share/man or $HOME/man.
# This should be run after make in the ../c directory but before make in the ../docs directory,
# since ../go/mlr is used to autogenerate ./manpage.txt which is used in ../docs.
# See also https://miller.readthedocs.io/en/latest/build.html#creating-a-new-release-for-developers
INSTALLDIR=/usr/local/share/man/man1
INSTALLHOME=$(HOME)/man/man1
top: .always
echo mkman start
./mkman.rb > mlr6.1
./mkman.rb | groff -man -Tascii | col -b | expand -8 > manpage.txt
cp manpage.txt ../docs6/docs
echo mkman end
# These targets are only for local dev work.
install: top
mkdir -p $(INSTALLDIR)
cp mlr6.1 $(INSTALLDIR)/mlr6.1
installhome: top
mkdir -p $(INSTALLHOME)
cp mlr6.1 $(INSTALLHOME)/mlr6.1
.always:
true