From: epage Date: Tue, 15 Dec 2009 03:42:41 +0000 (+0000) Subject: Fixing upload X-Git-Url: http://git.maemo.org/git/?p=quicknote;a=commitdiff_plain;h=24a5356e98e15773a924e55b27bfe677ed8931f1 Fixing upload git-svn-id: file:///svnroot/quicknote/trunk@90 bb7704e3-badb-4cfa-9ab3-9374dc87eaa2 --- diff --git a/Makefile b/Makefile index 7d0b394..197d40d 100644 --- a/Makefile +++ b/Makefile @@ -95,7 +95,7 @@ build: $(OBJ) build_mo cp -R $(BUILD_PATH)/generic/* $(BUILD_PATH)/debian cd $(BUILD_PATH)/debian ; python builddeb.py debian -upload: build +upload: dput fremantle-extras-builder $(BUILD_PATH)/fremantle/$(PROJECT_NAME)*.changes dput diablo-extras-builder $(BUILD_PATH)/diablo/$(PROJECT_NAME)*.changes dput chinook-extras-builder $(BUILD_PATH)/chinook/$(PROJECT_NAME)*.changes diff --git a/support/builddeb.py b/support/builddeb.py index 8394023..4e94cf2 100755 --- a/support/builddeb.py +++ b/support/builddeb.py @@ -166,16 +166,28 @@ def build_package(distribution): p["/usr/share/icons/hicolor/48x48/hildon"] = ["48x48-quicknote.png|quicknote.png"] p["/usr/share/icons/hicolor/scalable/hildon"] = ["scale-quicknote.png|quicknote.png"] - print p - print p.generate( - version="%s-%s" % (__version__, __build__), - changelog=__changelog__, - build=True, - tar=True, - changes=True, - dsc=True, - ) - print "Building for %s finished" % distribution + if distribution == "debian": + print p + print p.generate( + version="%s-%s" % (__version__, __build__), + changelog=__changelog__, + build=True, + tar=False, + changes=False, + dsc=False, + ) + print "Building for %s finished" % distribution + else: + print p + print p.generate( + version="%s-%s" % (__version__, __build__), + changelog=__changelog__, + build=False, + tar=True, + changes=True, + dsc=True, + ) + print "Building for %s finished" % distribution if __name__ == "__main__": diff --git a/support/py2deb.py b/support/py2deb.py index d1eac8a..4a47513 100644 --- a/support/py2deb.py +++ b/support/py2deb.py @@ -192,7 +192,7 @@ def py2changes(params): shutil.move(l[0],tar) ret.append(tar) - l=glob("%(TEMP)s/%(name)s*_*_*.changes" % params) + l = glob("%(TEMP)s/%(name)s*.changes" % params) if len(l)!=1: raise Py2debException("don't find source package changes") tar = os.path.basename(l[0])