X-Git-Url: https://git.proxmox.com/?p=vzquota.git;a=blobdiff_plain;f=Makefile;h=57406f838a5f84d528d84b0e3a445cd0b8757ea2;hp=d5e7157e919fe4fed8e9e16dfd97c965ba037529;hb=e806e8437d185b601ce9fc7d7a16d72d028f70de;hpb=5cd8abee5c8ac6be0ef24f3ba0e65eb575990adb diff --git a/Makefile b/Makefile index d5e7157..57406f8 100644 --- a/Makefile +++ b/Makefile @@ -22,5 +22,24 @@ ${DEB}: ${SRC} lintian ${DEB} +.PHONY: upload +upload: ${DEB} + umount /pve/${RELEASE}; mount /pve/${RELEASE} -o rw + mkdir -p /pve/${RELEASE}/extra + rm -f /pve/${RELEASE}/extra/${PACKAGE}_*.deb + rm -f /pve/${RELEASE}/extra/Packages* + cp ${DEB} /pve/${RELEASE}/extra + cd /pve/${RELEASE}/extra; dpkg-scanpackages . /dev/null > Packages; gzip -9c Packages > Packages.gz + umount /pve/${RELEASE}; mount /pve/${RELEASE} -o ro + +.PHONY: distclean +distclean: clean + +.PHONY: clean clean: - rm -rf *~ debian/*~ ${SRCDIR} ${PACKAGE}_*.deb ${PACKAGE}_*.changes \ No newline at end of file + rm -rf *~ debian/*~ ${SRCDIR} ${PACKAGE}_*.deb ${PACKAGE}_*.changes + +.PHONY: dinstall +dinstall: ${DEB} + dpkg -i ${DEB} +