.PHONY: deb
${DEBS} deb: | submodule
- rm -f *.deb
rm -rf $(BUILDDIR)
- mkdir $(BUILDDIR)
- cp -a $(SRCDIR)/* $(BUILDDIR)/
- cp -R debian $(BUILDDIR)/
+ cp -a $(SRCDIR) $(BUILDDIR)
+ cp -a debian $(BUILDDIR)/debian
cd ${BUILDDIR}; dpkg-buildpackage -rfakeroot -b -uc -us
.PHONY: upload
upload: ${DEBS}
tar cf - ${DEBS} | ssh repoman@repo.proxmox.com -- upload --product pve --dist stretch --arch ${ARCH}
-.PHONY: distclean
+.PHONY: clean distclean
distclean: clean
-
-.PHONY: clean
clean:
rm -rf ${BUILDDIR} *.deb *.changes *.dsc *.buildinfo