Commit d616ef70 authored by Niels Möller's avatar Niels Möller

* tools/Makefile.in (install): Use MKDIR_P to create installation

directory. Install only one file at a time.

Rev: src/nettle/tools/Makefile.in:1.18
parent 1e85194d
......@@ -10,6 +10,7 @@ INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = $(INSTALL_PROGRAM) -s
MKDIR_P = @MKDIR_P@
include ../config.make
......@@ -50,8 +51,10 @@ check:
true
install: $(TARGETS)
$(INSTALL) -d $(DESTDIR)$(bindir)
$(INSTALL_PROGRAM) $(TARGETS) $(DESTDIR)$(bindir)
$(MKDIR_P) $(DESTDIR)$(bindir)
for f in $(TARGETS) ; do \
$(INSTALL_PROGRAM) $$f $(DESTDIR)$(bindir) ; \
done
uninstall:
for f in $(TARGETS) ; do \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment