Skip to content

Commit

Permalink
updated makefile to use coreutils install
Browse files Browse the repository at this point in the history
  • Loading branch information
redblade7 committed May 13, 2017
1 parent 8655739 commit 84e2a09
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
STRFILE = /usr/bin/strfile
INSTALL = /usr/bin/install
PREFIX = /usr
DESTDIR = $(PREFIX)/share/games/fortunes

all: smtoomuch.dat

install: all
cp -f smtoomuch $(DESTDIR)
cp -f smtoomuch.dat $(DESTDIR)
$(INSTALL) -o root -g root -m 644 smtoomuch $(DESTDIR)
$(INSTALL) -o root -g root -m 644 smtoomuch.dat $(DESTDIR)

smtoomuch.dat: smtoomuch
$(STRFILE) smtoomuch
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,5 @@ THANKS:
* igemnace on Freenode #vim for helping me quickly split up the book into fortunes

CHANGES:
* v5.0 (2017-05-11) - Initial release, based on version 5 of the book
* v5.1 (2017-05-12) - Updated Makefile to use coreutils install.
* v5.0 (2017-05-11) - Initial release, based on version 5 of the book.

0 comments on commit 84e2a09

Please sign in to comment.