File tree Expand file tree Collapse file tree 4 files changed +21
-18
lines changed
Expand file tree Collapse file tree 4 files changed +21
-18
lines changed Original file line number Diff line number Diff line change @@ -33,14 +33,14 @@ Description: cross-platform C++ 3d math library.
3333# Description: cross-platform C++ 3d math library.
3434# Debug version of libr4.
3535
36- # Package: libr4$(soname)-dbgsrc
37- # Section: debug
38- # Architecture: all
39- # Depends:
40- # libr4$(soname)-dbgsym (= ${binary:Version}),
41- # libr4-dbg$(soname)-dbgsym (= ${binary:Version}),
42- # ${misc:Depends}
43- # Description: debugging sources for libr4$(soname) package.
36+ Package: libr4$(soname)-dbgsrc
37+ Section: debug
38+ Architecture: all
39+ Depends:
40+ # libr4$(soname)-dbgsym (= ${binary:Version}),
41+ # libr4-dbg$(soname)-dbgsym (= ${binary:Version}),
42+ ${misc:Depends}
43+ Description: debugging sources for libr4$(soname) package.
4444
4545Package: libr4-dev
4646Section: libdevel
Original file line number Diff line number Diff line change 22
33export PREFIX := /usr
44
5- # dbgsrc_pkg_name := $(filter %-dbgsrc, $(shell awk '/^Package: /{print $2}' debian/control))
6- # debug_prefix_map_arg := -fdebug-prefix-map=$(shell pwd) /src=$(PREFIX)/src/$(patsubst %-dbgsrc,%,$(dbgsrc_pkg_name))
7- #
8- # export PRORAB_INSTALL_DBGSRC := true
9- #
10- # export DEB_CFLAGS_MAINT_APPEND := $(debug_prefix_map_arg)
11- # export DEB_CXXFLAGS_MAINT_APPEND := $(debug_prefix_map_arg)
12- # export DEB_OBJCFLAGS_MAINT_APPEND := $(debug_prefix_map_arg)
13- # export DEB_OBJCXXFLAGS_MAINT_APPEND := $(debug_prefix_map_arg)
5+ dbgsrc_pkg_name := $(filter % -dbgsrc, $(shell awk '/^Package: /{print $2}' debian/control) )
6+ debug_prefix_map_arg := -fdebug-prefix-map=$(abspath .. /src) =$(PREFIX ) /src/$(patsubst % -dbgsrc,% ,$(dbgsrc_pkg_name ) )
7+
8+ export PRORAB_INSTALL_DBGSRC := true
9+
10+ export DEB_CFLAGS_MAINT_APPEND := $(debug_prefix_map_arg )
11+ export DEB_CXXFLAGS_MAINT_APPEND := $(debug_prefix_map_arg )
12+ export DEB_OBJCFLAGS_MAINT_APPEND := $(debug_prefix_map_arg )
13+ export DEB_OBJCXXFLAGS_MAINT_APPEND := $(debug_prefix_map_arg )
1414
1515% :
1616 dh $@
Original file line number Diff line number Diff line change 1515 },
1616 {
1717 "name" : "myci",
18- "host" : true
18+ "host" : false
1919 },
2020 "utki"
2121 ]
Original file line number Diff line number Diff line change 11include prorab.mk
22include prorab-license.mk
33include prorab-clang-format.mk
4+ include prorab-install-dbgsrc.mk
45
56$(eval $(call prorab-config, ../config))
67
@@ -16,3 +17,5 @@ $(eval $(prorab-clang-format))
1617
1718this_license_file := ../LICENSE
1819$(eval $(prorab-license))
20+
21+ $(eval $(prorab-install-dbgsrc))
You can’t perform that action at this time.
0 commit comments