From: Jason A. Donenfeld Date: Wed, 2 Nov 2016 10:49:07 +0000 (+0100) Subject: wg: everybody hates automatic stripping X-Git-Tag: v1.0.20191226~315 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=971c792ba9d0b36fcb05726ab4bdd48fa2f906d3;p=thirdparty%2Fwireguard-tools.git wg: everybody hates automatic stripping I happen to like it, but package managers don't. The GNU standard [1] says there should be a separate install-strip target. I don't like duplicating code like that. So, instead, I'll just remove stripping all together. [1] https://www.gnu.org/prep/standards/html_node/Standard-Targets.html Signed-off-by: Jason A. Donenfeld --- diff --git a/src/Makefile b/src/Makefile index fc0c0f3..0d3a2e4 100644 --- a/src/Makefile +++ b/src/Makefile @@ -24,7 +24,7 @@ clean: rm -f wg *.o *.d install: wg - install -v -d "$(DESTDIR)$(BINDIR)" && install -s -m 0755 -v wg "$(DESTDIR)$(BINDIR)/wg" + install -v -d "$(DESTDIR)$(BINDIR)" && install -m 0755 -v wg "$(DESTDIR)$(BINDIR)/wg" install -v -d "$(DESTDIR)$(MANDIR)/man8" && install -m 0644 -v wg.8 "$(DESTDIR)$(MANDIR)/man8/wg.8" check: clean