similarity index 100%
rename from debian/README.Debian
rename to pkg/debian/README.Debian
similarity index 100%
rename from debian/changelog
rename to pkg/debian/changelog
similarity index 100%
rename from debian/compat
rename to pkg/debian/compat
similarity index 100%
rename from debian/control
rename to pkg/debian/control
similarity index 100%
rename from debian/copyright
rename to pkg/debian/copyright
similarity index 100%
rename from debian/docs
rename to pkg/debian/docs
similarity index 100%
rename from debian/libodp-dev.dirs
rename to pkg/debian/libodp-dev.dirs
similarity index 100%
rename from debian/libodp-dev.install
rename to pkg/debian/libodp-dev.install
similarity index 100%
rename from debian/libodp.dirs
rename to pkg/debian/libodp.dirs
similarity index 100%
rename from debian/libodp.install
rename to pkg/debian/libodp.install
similarity index 100%
rename from debian/libodphelper-dev.dirs
rename to pkg/debian/libodphelper-dev.dirs
similarity index 100%
rename from debian/libodphelper-dev.install
rename to pkg/debian/libodphelper-dev.install
similarity index 100%
rename from debian/libodphelper.dirs
rename to pkg/debian/libodphelper.dirs
similarity index 100%
rename from debian/libodphelper.install
rename to pkg/debian/libodphelper.install
similarity index 100%
rename from debian/odp-bin.dirs
rename to pkg/debian/odp-bin.dirs
similarity index 100%
rename from debian/odp-bin.install
rename to pkg/debian/odp-bin.install
similarity index 100%
rename from debian/rules
rename to pkg/debian/rules
similarity index 100%
rename from debian/source/format
rename to pkg/debian/source/format
@@ -15,7 +15,7 @@ cp opendataplane-${version}.tar.gz opendataplane_${version}.orig.tar.gz
tar xzf opendataplane_${version}.orig.tar.gz
pushd ${ROOT_DIR}/opendataplane-${version}
-cp -r ${ROOT_DIR}/debian .
+cp -r ${ROOT_DIR}/pkg/debian .
current=$(echo ${version} | awk -F . '{printf("%d\n", (($1 * 100) + $2))}')
rename 's,([^-\.]*)(.*),${1}'"${current}"'${2},' debian/*odp*
Signed-off-by: Anders Roxell <anders.roxell@linaro.org> --- {debian => pkg/debian}/README.Debian | 0 {debian => pkg/debian}/changelog | 0 {debian => pkg/debian}/compat | 0 {debian => pkg/debian}/control | 0 {debian => pkg/debian}/copyright | 0 {debian => pkg/debian}/docs | 0 {debian => pkg/debian}/libodp-dev.dirs | 0 {debian => pkg/debian}/libodp-dev.install | 0 {debian => pkg/debian}/libodp.dirs | 0 {debian => pkg/debian}/libodp.install | 0 {debian => pkg/debian}/libodphelper-dev.dirs | 0 {debian => pkg/debian}/libodphelper-dev.install | 0 {debian => pkg/debian}/libodphelper.dirs | 0 {debian => pkg/debian}/libodphelper.install | 0 {debian => pkg/debian}/odp-bin.dirs | 0 {debian => pkg/debian}/odp-bin.install | 0 {debian => pkg/debian}/rules | 0 {debian => pkg/debian}/source/format | 0 scripts/builddeb | 2 +- 19 files changed, 1 insertion(+), 1 deletion(-) rename {debian => pkg/debian}/README.Debian (100%) rename {debian => pkg/debian}/changelog (100%) rename {debian => pkg/debian}/compat (100%) rename {debian => pkg/debian}/control (100%) rename {debian => pkg/debian}/copyright (100%) rename {debian => pkg/debian}/docs (100%) rename {debian => pkg/debian}/libodp-dev.dirs (100%) rename {debian => pkg/debian}/libodp-dev.install (100%) rename {debian => pkg/debian}/libodp.dirs (100%) rename {debian => pkg/debian}/libodp.install (100%) rename {debian => pkg/debian}/libodphelper-dev.dirs (100%) rename {debian => pkg/debian}/libodphelper-dev.install (100%) rename {debian => pkg/debian}/libodphelper.dirs (100%) rename {debian => pkg/debian}/libodphelper.install (100%) rename {debian => pkg/debian}/odp-bin.dirs (100%) rename {debian => pkg/debian}/odp-bin.install (100%) rename {debian => pkg/debian}/rules (100%) rename {debian => pkg/debian}/source/format (100%)