From 80a258900b4d8edea4f14f0ed33bcb4fe744a5bb Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Tue, 21 May 2019 21:37:12 +0200 Subject: [PATCH] buildsys: fix dependencies for bootstrap files avoid removing and unzipping the bootstrap source archive as many times as ${BTDATA} has file entries, add an intermediate target for the directory, which is the producer for all those BTDATA files, and that directory then depends on the zip archive. I mean, it would be even better to just use the libjs-bootstrap package (and jQuery for that matter) but that a little bigger change for now Signed-off-by: Thomas Lamprecht --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 546f578..9c83807 100644 --- a/Makefile +++ b/Makefile @@ -53,10 +53,10 @@ download_jquery: wget https://code.jquery.com/jquery-${JQVER}.min.js -O ${JQSRC}.tmp mv ${JQSRC}.tmp ${JQSRC} -${BTDATA}: ${BTSRC} +${BTDATA}: ${BTDIR} +${BTDIR}: ${BTSRC} rm -rf ${BTDIR} unzip -x ${BTSRC} - touch $@ install: ${BTDATA} install -d -m 755 ${PERL5DIR}/PVE/APIServer -- 2.39.2