Skip to content

Commit

Permalink
Makefile: Use install command to install
Browse files Browse the repository at this point in the history
It creates the parent directories of the target if they are not there.
  • Loading branch information
JohnAZoidberg committed Jul 30, 2019
1 parent e66bdc7 commit 95ae8ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ config.h: config.def.h
cp -i config.def.h config.h

install: mtm
cp mtm $(DESTDIR)/bin
cp mtm.1 $(MANDIR)
install -Dm755 mtm -t $(DESTDIR)/bin
install -Dm644 mtm.1 -t $(MANDIR)

install-terminfo: mtm.ti
tic -s -x mtm.ti
Expand Down

0 comments on commit 95ae8ef

Please sign in to comment.