From 89e93b38c1b6f9d41960af14642387cc06a2f360 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Wed, 6 Apr 2016 10:45:54 +0200 Subject: [PATCH] add upload target --- Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Makefile b/Makefile index 6bdefd7..b0ffa2f 100644 --- a/Makefile +++ b/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 -- 2.39.2