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 <t.lamprecht@proxmox.com>
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