mirror of
git://git.proxmox.com/git/pve-docs.git
synced 2025-03-19 18:50:06 +03: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
|
||||
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
|
||||
rm -f *.5-opts.adoc .1-synopsis.adoc .8-synopsis.adoc
|
||||
|
Loading…
x
Reference in New Issue
Block a user