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
changes/88/3188/1
Holger Hans Peter Freyther 6 years ago committed by Holger Freyther
parent d32b6d13ed
commit 76f048a1fd
  1. 4
      debian/control
  2. 5
      debian/openbsc-dev.install

4
debian/control vendored

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

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

Loading…
Cancel
Save