mirror of
https://github.com/johnkerl/miller.git
synced 2026-07-26 01:15:27 +00:00
* 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
24 lines
795 B
Makefile
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
|