mirror of
https://git.proxmox.com/git/pve-docs
synced 2025-08-05 05:42:57 +00:00
add upload target
This commit is contained in:
parent
bef0c1b497
commit
89e93b38c1
9
Makefile
9
Makefile
@ -150,6 +150,15 @@ ${DEB} deb:
|
|||||||
cd build; dpkg-buildpackage -rfakeroot -b -us -uc
|
cd build; dpkg-buildpackage -rfakeroot -b -us -uc
|
||||||
lintian ${DEB}
|
lintian ${DEB}
|
||||||
|
|
||||||
|
.PHONY: upload
|
||||||
|
upload: ${DEB}
|
||||||
|
umount /pve/${DOCRELEASE}; mount /pve/${DOCRELEASE} -o rw
|
||||||
|
mkdir -p /pve/${DOCRELEASE}/extra
|
||||||
|
rm -f /pve/${DOCRELEASE}/extra/${PACKAGE}_*.deb
|
||||||
|
rm -f /pve/${DOCRELEASE}/extra/Packages*
|
||||||
|
cp ${DEB} /pve/${DOCRELEASE}/extra
|
||||||
|
cd /pve/${DOCRELEASE}/extra; dpkg-scanpackages . /dev/null > Packages; gzip -9c Packages > Packages.gz
|
||||||
|
umount /pve/${DOCRELEASE}; mount /pve/${DOCRELEASE} -o ro
|
||||||
|
|
||||||
update: clean
|
update: clean
|
||||||
rm -f *.5-opts.adoc .1-synopsis.adoc .8-synopsis.adoc
|
rm -f *.5-opts.adoc .1-synopsis.adoc .8-synopsis.adoc
|
||||||
|
Loading…
Reference in New Issue
Block a user