diff --git a/pkg/build.sh b/pkg/build.sh
index 6e6782b838c6da56fc7f0042c3df495ac4f2d32c..97f5d699ef099aa9c6212e5f5795580e2a898a39 100644
--- a/pkg/build.sh
+++ b/pkg/build.sh
@@ -5,7 +5,8 @@ cd `dirname $0`
 build_ubuntu() {
     mkdir ./build
     cp -r ../src ./build/
-    cp ../Makefile ./build/
+    cp ../*.pro ./build/
+    cp ../*.pri ./build/
     cp -r ./ubuntu/debian ./build/
     cd ./build
     debuild -uc -us -b