From 867e6486e92d725862d92164c020e3cdeb95a14d Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 3 Sep 2017 13:56:56 -0400 Subject: maint: correctly filter unused go packages from the distribution --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 271ecff..bd8ee0b 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,12 @@ include config.mk include $(topsrcdir)/build-aux/Makefile.head.mk -files.src.src := $(filter-out go/golang.org/x/sys/plan9/% go/golang.org/x/sys/windows/%,$(files.src.src)) +unused_gopkg += golang.org/x/sys/plan9 +unused_gopkg += golang.org/x/sys/windows +unused_gopkg += git.lukeshu.com/go/libgnulinux/inotify +unused_gopkg += git.lukeshu.com/go/libsystemd/sd_id128 +unused_gopkg += git.lukeshu.com/go/libsystemd/sd_messages +_gitfiles.all := $(filter-out $(foreach p,$(unused_gopkg),go/src/$(p)/%),$(_gitfiles.all)) bins_c = nshd-setuid nshd-tester bins_go = nshd -- cgit v1.2.2