X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=Makefile;h=3ae86b8576a3ecadd8ac4bafe1584fd90ce66c32;hb=6892e375acaa7a90951ade747bb8bf318aa67a6b;hp=7e4ff620686c6a40f2f3fc9851fe14d196c12066;hpb=eb58232e4a760cf77bdf365234caf42dff58670a;p=dab.git diff --git a/Makefile b/Makefile index 7e4ff62..3ae86b8 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,8 @@ +RELEASE=2.3 + VERSION=1.2 PACKAGE=dab -PKGREL=1 +PKGREL=5 SCRIPTS= \ @@ -23,6 +25,10 @@ PERLDIR=${PREFIX}/share/perl5/ all: ${DEB} +.PHONY: dinstall +dinstall: deb + dpkg -i ${DEB} + .PHONY: install install: dab dab.1 DAB.pm devices.tar.gz ${SCRIPTS} install -d ${DESTDIR}${SBINDIR} @@ -63,3 +69,17 @@ dab.1: dab clean: rm -f ${DEB} dab.1 dab.pdf *~ +.PHONY: distclean +distclean: clean + +.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 + +