mirror of
https://git.proxmox.com/git/pve-http-server
synced 2025-07-04 07:55:49 +00:00
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 <t.lamprecht@proxmox.com>
This commit is contained in:
parent
a94e0490c7
commit
80a258900b
4
Makefile
4
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
|
||||
|
Loading…
Reference in New Issue
Block a user