summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2017-01-24 11:31:47 +0100
committerHolger Freyther <holger@freyther.de>2017-01-24 13:16:10 +0000
commit76f048a1fdf8247ba28a373d989215a5493895ea (patch)
treeff4148706a897410f549853d7f099c72d8b7d174 /debian
parentd32b6d13ed9dcd171b9ff723d1389dacaff98903 (diff)
debian: Install header and source file to different directory
osmo-bts consumes the gsm_data_shared.{h,c} files and assumes the OpenBSC directory layout. Install the files into the specific sub-directories to make the --with-openbsc=dir option work. Change-Id: I3da21402dee3d6f1d812b232b0a3f13b8a462d5b
Diffstat (limited to 'debian')
-rw-r--r--debian/control4
-rw-r--r--debian/openbsc-dev.install5
2 files changed, 5 insertions, 4 deletions
diff --git a/debian/control b/debian/control
index 93b4bd3c1..144e649ed 100644
--- a/debian/control
+++ b/debian/control
@@ -107,8 +107,8 @@ Description: Header file needed by tools tightly integrated
from OpenBSC. This package installs these files to your file system so
that the other packages can build-depend on this package.
.
- The header file is installed to /usr/include/osmocom/openbsc, while
- the .c file is installed to /usr/src/osmocom/openbsc.
+ The directory structure is copied after the structure in the repository
+ and the header and .c file are installed into /usr/src/osmocom/openbsc/.
Package: osmo-gtphub
Architecture: any
diff --git a/debian/openbsc-dev.install b/debian/openbsc-dev.install
index 557aea10e..398321af6 100644
--- a/debian/openbsc-dev.install
+++ b/debian/openbsc-dev.install
@@ -1,2 +1,3 @@
-openbsc/include/openbsc/gsm_data_shared.h usr/include/osmocom/openbsc/
-openbsc/src/libcommon/gsm_data_shared.c usr/src/osmocom/openbsc/libcommon/
+openbsc/include/openbsc/gsm_data_shared.h usr/src/osmocom/openbsc/openbsc/include/openbsc/
+openbsc/include/openbsc/common_cs.h usr/src/osmocom/openbsc/openbsc/include/openbsc/
+openbsc/src/libcommon/gsm_data_shared.c usr/src/osmocom/openbsc/openbsc/src/libcommon/