mirror of
https://github.com/johnkerl/miller.git
synced 2026-07-21 02:23:20 +00:00
* Continue neatening on-line help * replace lib.MlrExeName() with "mlr" * synchronize mlr -l/-L/-f/-F/-k/-K
23 lines
761 B
Makefile
23 lines
761 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
|
|
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
|