Skip to content
Snippets Groups Projects
Commit 99b7b172 authored by Niels Möller's avatar Niels Möller
Browse files

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

(uninstall): New target.

Rev: src/nettle/tools/Makefile.in:1.3
parent bd52b97f
No related branches found
No related tags found
No related merge requests found
...@@ -59,8 +59,13 @@ check: ...@@ -59,8 +59,13 @@ check:
true true
install: $(TARGETS) install: $(TARGETS)
$(INSTALL) -d $(bindir) $(INSTALL) -d $(DESTDIR)$(bindir)
$(INSTALL_PROGRAM) $(TARGETS) $(bindir) $(INSTALL_PROGRAM) $(TARGETS) $(DESTDIR)$(bindir)
uninstall:
for f in $(TARGETS) ; do \
rm -f $(DESTDIR)$(bindir)/$$f ; \
done
distdir: $(DISTFILES) distdir: $(DISTFILES)
cp $^ $(distdir) cp $^ $(distdir)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment