projects
/
finddup.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
28e25a2
)
Now installs in /usr/local/
author
Francois Fleuret
<francois@fleuret.org>
Mon, 27 Aug 2018 05:56:04 +0000
(07:56 +0200)
committer
Francois Fleuret
<francois@fleuret.org>
Mon, 27 Aug 2018 05:56:04 +0000
(07:56 +0200)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
7af163a
..
fc6b97b
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-21,8
+21,8
@@
# along with finddup. If not, see <http://www.gnu.org/licenses/>.
#
# along with finddup. 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
ifeq ($(WITH_MD5),yes)
LDFLAGS=-lssl
ifeq ($(WITH_MD5),yes)
LDFLAGS=-lssl
@@
-48,6
+48,7
@@
finddup: finddup.o
$(CC) -o $@ $^ $(LDFLAGS)
install: finddup
$(CC) -o $@ $^ $(LDFLAGS)
install: finddup
+ mkdir -p $(BINARY_PATH) $(MAN_PATH)
install -m 755 finddup $(BINARY_PATH)
install -m 644 finddup.1 $(MAN_PATH)
gzip $(MAN_PATH)/finddup.1
install -m 755 finddup $(BINARY_PATH)
install -m 644 finddup.1 $(MAN_PATH)
gzip $(MAN_PATH)/finddup.1