debian: Update the rules to work from the toplevel directory
diff --git a/debian/autoreconf b/debian/autoreconf
new file mode 100644
index 0000000..9a3a67f
--- /dev/null
+++ b/debian/autoreconf
@@ -0,0 +1 @@
+openbsc
diff --git a/debian/osmocom-bsc.examples b/debian/osmocom-bsc.examples
index 2eec6ba..a95f12b 100644
--- a/debian/osmocom-bsc.examples
+++ b/debian/osmocom-bsc.examples
@@ -1 +1 @@
-doc/examples/osmo-bsc_mgcp
+openbsc/doc/examples/osmo-bsc_mgcp
diff --git a/debian/osmocom-nitb.examples b/debian/osmocom-nitb.examples
index 2d410e7..c098d5c 100644
--- a/debian/osmocom-nitb.examples
+++ b/debian/osmocom-nitb.examples
@@ -1 +1 @@
-doc/examples/osmo-nitb
+openbsc/doc/examples/osmo-nitb
diff --git a/debian/rules b/debian/rules
index 34ef3e7..e82ba91 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,11 +18,11 @@
 VERSION := $(shell echo '$(DEBVERS)' | sed -e 's/[+-].*//' -e 's/~//g')
 
 %:
-	dh --with autoreconf $@ 
+	dh --sourcedirectory=openbsc --with autoreconf $@
 
 override_dh_auto_configure:
-	echo $(VERSION) > .tarball-version
-	dh_auto_configure -- --enable-nat --enable-osmo-bsc
+	echo $(VERSION) > openbsc/.tarball-version
+	dh_auto_configure --sourcedirectory=openbsc -- --enable-nat --enable-osmo-bsc
 
 override_dh_auto_test:
 #	tests are broken...