]> git.proxmox.com Git - ifupdown2.git/blobdiff - Makefile
bump version to 2.0.0-1~pvetest2
[ifupdown2.git] / Makefile
index 395ebaec68eaa9958af18cf00365496ccc4f2e34..8544c56017d6c9d8c2e68b8bc3efbeea55711ad4 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 PACKAGE=ifupdown2
-VER=1.1
-PKGREL=2.0
+VER=2.0.0
+PKGREL=1~pvetest2
 
 SRCDIR=ifupdown2
 BUILDDIR=${SRCDIR}.tmp
@@ -23,24 +23,21 @@ deb: ${DEB}
 ${DEB}: | submodule
        rm -f *.deb
        rm -rf $(BUILDDIR)
-       cp -rpa ${SRCDIR} ${BUILDDIR}
-       cp -a debian ${BUILDDIR}
+       mkdir $(BUILDDIR)
+       cp -a $(SRCDIR)/* $(BUILDDIR)/
+       cp -R debian/* $(BUILDDIR)/debian/
        cd ${BUILDDIR}; dpkg-buildpackage -rfakeroot -b -uc -us
 
-#.PHONY: download
-#download ${SRCDIR}:
-#        git submodule foreach 'git pull --ff-only origin master'
-
 .PHONY: upload
 upload: ${DEB}
-       tar cf - ${DEB}|ssh -X repoman@repo.proxmox.com -- upload --product pmg,pve --dist stretch
+       tar cf - ${DEB} | ssh -X repoman@repo.proxmox.com -- upload --product pve --dist stretch
 
 .PHONY: distclean
 distclean: clean
 
 .PHONY: clean
 clean:
-       rm -rf *~ debian/*~ *.deb ${BUILDDIR} *.changes *.dsc *.buildinfo
+       rm -rf ${BUILDDIR} *.deb *.changes *.dsc *.buildinfo
 
 .PHONY: dinstall
 dinstall: deb