From f3a317ceedf59c1a53b4813ca51445f78efd9c50 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 6 Nov 2012 14:44:44 +0100 Subject: [PATCH] debian: Update the rules to work from the toplevel directory --- debian/autoreconf | 1 + debian/osmocom-bsc.examples | 2 +- debian/osmocom-nitb.examples | 2 +- debian/rules | 6 +++--- 4 files changed, 6 insertions(+), 5 deletions(-) create mode 100644 debian/autoreconf 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...