Makefile: set architecture to build to armel
[dbuscron] / Makefile
index 9e3cdc4..9a6b70c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -47,11 +47,18 @@ build: debclean
        ./genchangelog $(B)
        git commit -m "changelog updated" ./debian/changelog
        git tag -f v$(B)
-       git push -f origin v$(B)
        $(MAKE) deb
 
 tarball:
        git archive --format=tar v$(B) | gzip -9 > ../dbuscron_$(B:.0=).orig.tar.gz
 
-.PHONY: install uninstall clean debclean deb build compile
+debuild: tarball
+       debuild -aarmel
+
+publish: debuild
+       scp ../dbuscron_$(B:.0=)*.tar.gz drop.maemo.org:/var/www/extras-devel/incoming-builder/fremantle
+       scp ../dbuscron_$(B:.0=)*.changes drop.maemo.org:/var/www/extras-devel/incoming-builder/fremantle
+       scp ../dbuscron_$(B:.0=)*.dsc drop.maemo.org:/var/www/extras-devel/incoming-builder/fremantle
+
+.PHONY: install uninstall clean debclean deb build compile tarball debuild publish