From: Jason A. Donenfeld Date: Tue, 12 May 2020 03:31:05 +0000 (-0600) Subject: Makefile: remember to install all systemd units X-Git-Tag: v1.0.20200513~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0cfde946b1ffc35fff57501f3d9eb675a2dd2dba;p=thirdparty%2Fwireguard-tools.git Makefile: remember to install all systemd units Reported-by: Unit 193 Signed-off-by: Jason A. Donenfeld --- diff --git a/src/Makefile b/src/Makefile index d3d56cc..157153e 100644 --- a/src/Makefile +++ b/src/Makefile @@ -90,7 +90,7 @@ install: wg @[ "$(WITH_WGQUICK)" = "yes" -a "$(WITH_BASHCOMPLETION)" = "yes" ] || exit 0; \ install -v -m 0644 completion/wg-quick.bash-completion "$(DESTDIR)$(BASHCOMPDIR)/wg-quick" @[ "$(WITH_WGQUICK)" = "yes" -a "$(WITH_SYSTEMDUNITS)" = "yes" ] || exit 0; \ - install -v -d "$(DESTDIR)$(SYSTEMDUNITDIR)" && install -v -m 0644 systemd/wg-quick@.service "$(DESTDIR)$(SYSTEMDUNITDIR)/wg-quick@.service" + install -v -d "$(DESTDIR)$(SYSTEMDUNITDIR)" && install -v -m 0644 systemd/* "$(DESTDIR)$(SYSTEMDUNITDIR)/" check: clean scan-build --html-title=wireguard-tools -maxloop 100 --view --keep-going $(MAKE) wg