Commit 99b7b172 authored by Niels Möller's avatar Niels Möller

* tools/Makefile.in (install): Support DESTDIR.

(uninstall): New target.

Rev: src/nettle/tools/Makefile.in:1.3
parent bd52b97f
......@@ -59,8 +59,13 @@ check:
true
install: $(TARGETS)
$(INSTALL) -d $(bindir)
$(INSTALL_PROGRAM) $(TARGETS) $(bindir)
$(INSTALL) -d $(DESTDIR)$(bindir)
$(INSTALL_PROGRAM) $(TARGETS) $(DESTDIR)$(bindir)
uninstall:
for f in $(TARGETS) ; do \
rm -f $(DESTDIR)$(bindir)/$$f ; \
done
distdir: $(DISTFILES)
cp $^ $(distdir)
......
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