Add README.txt to the deb task code files

This commit is contained in:
Alex Young
2012-07-16 10:29:06 +01:00
parent d0b39cce08
commit 484a29b3f6
2 changed files with 3 additions and 2 deletions

View File

@@ -45,6 +45,7 @@ def check(m)
"build/tests/check_#{m}" "build/tests/check_#{m}"
end end
file "README.txt"
file "build/flexnbd.1.gz" => "README.txt" do file "build/flexnbd.1.gz" => "README.txt" do
FileUtils.mkdir_p( "build" ) FileUtils.mkdir_p( "build" )
@@ -265,7 +266,7 @@ end
namespace :pkg do namespace :pkg do
deb do |t| deb do |t|
t.code_files = ALL_SOURCES + ["Rakefile"] t.code_files = ALL_SOURCES + ["Rakefile", "README.txt"]
t.pkg_name = "flexnbd" t.pkg_name = "flexnbd"
t.generate_changelog! t.generate_changelog!
end end

2
debian/rules vendored
View File

@@ -8,7 +8,7 @@
dh $@ dh $@
override_dh_auto_build: override_dh_auto_build:
rake flexnbd rake build
override_dh_auto_clean: override_dh_auto_clean:
rake clean rake clean