debian: Update the rules to work from the toplevel directory

changes/88/3188/1
Holger Hans Peter Freyther 10 years ago
parent e600eed7fa
commit f3a317ceed
  1. 1
      debian/autoreconf
  2. 2
      debian/osmocom-bsc.examples
  3. 2
      debian/osmocom-nitb.examples
  4. 6
      debian/rules

1
debian/autoreconf vendored

@ -0,0 +1 @@
openbsc

@ -1 +1 @@
doc/examples/osmo-bsc_mgcp
openbsc/doc/examples/osmo-bsc_mgcp

@ -1 +1 @@
doc/examples/osmo-nitb
openbsc/doc/examples/osmo-nitb

6
debian/rules vendored

@ -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...

Loading…
Cancel
Save