debian: Update the rules to work from the toplevel directory
This commit is contained in:
parent
e600eed7fa
commit
f3a317ceed
|
@ -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
|
||||||
|
|
|
@ -18,11 +18,11 @@ DEBVERS := $(shell echo '$(DEBIAN)' | cut -d- -f1)
|
||||||
VERSION := $(shell echo '$(DEBVERS)' | sed -e 's/[+-].*//' -e 's/~//g')
|
VERSION := $(shell echo '$(DEBVERS)' | sed -e 's/[+-].*//' -e 's/~//g')
|
||||||
|
|
||||||
%:
|
%:
|
||||||
dh --with autoreconf $@
|
dh --sourcedirectory=openbsc --with autoreconf $@
|
||||||
|
|
||||||
override_dh_auto_configure:
|
override_dh_auto_configure:
|
||||||
echo $(VERSION) > .tarball-version
|
echo $(VERSION) > openbsc/.tarball-version
|
||||||
dh_auto_configure -- --enable-nat --enable-osmo-bsc
|
dh_auto_configure --sourcedirectory=openbsc -- --enable-nat --enable-osmo-bsc
|
||||||
|
|
||||||
override_dh_auto_test:
|
override_dh_auto_test:
|
||||||
# tests are broken...
|
# tests are broken...
|
||||||
|
|
Loading…
Reference in New Issue