Fix Makefile for empty prefix (#839)

* Fix makefile so that bin dir is created if absent

* fix indent
This commit is contained in:
Brian Fulton-Howard 2022-01-08 19:45:19 -05:00 committed by GitHub
parent 8267b2220d
commit 82b3f7ecdf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,7 +20,8 @@ check: unit-test regression-test
# DESTDIR is for package installs; nominally blank when this is run interactively.
# See also https://www.gnu.org/prep/standards/html_node/DESTDIR.html
install: build
cp mlr $(DESTDIR)/$(INSTALLDIR)
mkdir -p $(DESTDIR)/$(INSTALLDIR)
cp mlr $(DESTDIR)/$(INSTALLDIR)/
make -C man install
# ================================================================