summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2012-11-06 14:44:44 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2012-11-06 23:11:43 +0100
commitf3a317ceedf59c1a53b4813ca51445f78efd9c50 (patch)
treef894a16d98ec41a20b355aa7bc49292e25b57bb8 /debian
parente600eed7faf12f1f6b0bc1baab667e960adf68d5 (diff)
debian: Update the rules to work from the toplevel directory
Diffstat (limited to 'debian')
-rw-r--r--debian/autoreconf1
-rw-r--r--debian/osmocom-bsc.examples2
-rw-r--r--debian/osmocom-nitb.examples2
-rwxr-xr-xdebian/rules6
4 files changed, 6 insertions, 5 deletions
diff --git a/debian/autoreconf b/debian/autoreconf
new file mode 100644
index 000000000..9a3a67f08
--- /dev/null
+++ b/debian/autoreconf
@@ -0,0 +1 @@
+openbsc
diff --git a/debian/osmocom-bsc.examples b/debian/osmocom-bsc.examples
index 2eec6ba54..a95f12ba3 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 2d410e7d6..c098d5c00 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 34ef3e7d9..e82ba91c5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,11 +18,11 @@ DEBVERS := $(shell echo '$(DEBIAN)' | cut -d- -f1)
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...