Skip to content

Commit f8aba18

Browse files
author
Prakash Surya
committed
Move installation to "/opt/gdb-python" directory
1 parent 03d1982 commit f8aba18

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

debian/control

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,5 @@ Standards-Version: 4.1.2
66

77
Package: gdb-python
88
Depends: ${shlibs:Depends}
9-
Conflicts: gdb, gdbserver
109
Architecture: any
1110
Description: Python extensions to GDB

debian/rules

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,14 @@ SOURCE_NAME := $(shell dpkg-parsechangelog | sed -rne "s,^Source: (.*),\1,p")
66
dh $@
77

88
override_dh_auto_configure:
9-
dh_auto_configure -- --with-python=/usr/bin/python3.6
9+
dh_auto_configure -- \
10+
--with-python=/usr/bin/python3.6 \
11+
--prefix=/opt/gdb-python
1012

1113
override_dh_auto_build:
1214
$(MAKE) all-gdb
1315

1416
override_dh_auto_install:
1517
$(MAKE) install-gdb DESTDIR=$(CURDIR)/debian/$(SOURCE_NAME)
16-
rm $(CURDIR)/debian/$(SOURCE_NAME)/usr/share/info/dir
1718

1819
override_dh_auto_test:

0 commit comments

Comments
 (0)