From 6d1484402da7ade659dcb224b27c7103dcd41d43 Mon Sep 17 00:00:00 2001 From: Sami Boukortt Date: Sat, 16 Feb 2019 19:14:46 +0100 Subject: [PATCH] Let tup create the Windows archives --- Tupfile | 4 ++++ config/win32.config | 1 + config/win64.config | 1 + 3 files changed, 6 insertions(+) diff --git a/Tupfile b/Tupfile index 7eb014f..c1f4c01 100644 --- a/Tupfile +++ b/Tupfile @@ -14,3 +14,7 @@ LFLAGS = @(LFLAGS) `@(PKGCONFIG) --libs $(LIBS)` : foreach metadata/*.ttl |> cp %f %o |> intersect.lv2/%b : foreach metadata/*.in |> tup varsed %f %o |> intersect.lv2/%B + +ifdef RELEASE_ARCHIVE + : |> advzip --add -4 %o intersect.lv2 |> @(RELEASE_ARCHIVE) +endif diff --git a/config/win32.config b/config/win32.config index b64afb3..a404dfd 100644 --- a/config/win32.config +++ b/config/win32.config @@ -4,3 +4,4 @@ CONFIG_CFLAGS=-O3 -flto CONFIG_LFLAGS=-static -s CONFIG_EXT=dll CONFIG_SKIP_TESTS=1 +CONFIG_RELEASE_ARCHIVE=intersect-win32.zip diff --git a/config/win64.config b/config/win64.config index 59a1dd3..9f988f7 100644 --- a/config/win64.config +++ b/config/win64.config @@ -4,3 +4,4 @@ CONFIG_CFLAGS=-O3 -flto CONFIG_LFLAGS=-static -s CONFIG_EXT=dll CONFIG_SKIP_TESTS=1 +CONFIG_RELEASE_ARCHIVE=intersect-win64.zip