Skip to content

Commit

Permalink
Builder|Debian: Source package build rules
Browse files Browse the repository at this point in the history
On Launchpad, a stable version builds correctly, but the built files
are not included in the produced DEB package. One potential reason
is that they are being installed in the wrong directory.
  • Loading branch information
skyjake committed Sep 1, 2017
1 parent 7e13bb0 commit 74238cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distrib/autobuild.py
Expand Up @@ -268,7 +268,7 @@ def gen_changelog(src, dst, extraSub=''):

gen_changelog('../../../debian/changelog', 'changelog', dsub)
system_command("sed 's/${Arch}/i386 amd64/;s/${Package}/%s/' ../../../debian/control.template > control" % pkgName)
system_command("sed 's/`..\/build_number.py --print`/%i/;s/..\/..\/doomsday/..\/doomsday/' ../../../debian/rules > rules" % ev.number())
system_command("sed 's/`..\/build_number.py --print`/%i/;s/..\/..\/doomsday/..\/doomsday/;s/APPNAME := doomsday/APPNAME := %s/' ../../../debian/rules > rules" % (ev.number(), pkgName))
os.chdir('..')
system_command('debuild -S')
os.chdir('..')
Expand Down

0 comments on commit 74238cb

Please sign in to comment.