projects
/
dus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a53b645
)
Now installs in /usr/local/
author
Francois Fleuret
<francois@fleuret.org>
Mon, 27 Aug 2018 05:53:34 +0000
(07:53 +0200)
committer
Francois Fleuret
<francois@fleuret.org>
Mon, 27 Aug 2018 05:53:34 +0000
(07:53 +0200)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
7d25f0a
..
622c52e
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-21,8
+21,8
@@
# along with dus. If not, see <http://www.gnu.org/licenses/>.
#
-BINARY_PATH = $(DESTDIR)/usr/bin
-MAN_PATH = $(DESTDIR)/usr/share/man/man1
+BINARY_PATH = $(DESTDIR)/usr/
local/
bin
+MAN_PATH = $(DESTDIR)/usr/
local/
share/man/man1
LDFLAGS=
@@
-42,7
+42,9
@@
dus: dus.o
$(CC) -o $@ $^ $(LDFLAGS)
install: dus
+ makedir -p $(BINARY_PATH)
install -m 755 dus $(BINARY_PATH)
+ makedir -p $(MAN_PATH)
install -m 644 dus.1 $(MAN_PATH)
gzip $(MAN_PATH)/dus.1