1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
Description: Hack the makefile to install the python module where dh expects it
Author: Matthias Geiger <werdahias@debian.org>
Forwarded: no
Last-Update: 2025-10-01
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/language/python/Makefile.am
+++ b/language/python/Makefile.am
@@ -15,7 +15,8 @@
-{ $(PYTHON) setup.py build && touch build; } || { $(RM) -r build; exit 1; }
install-data-local:
- -$(PYTHON) setup.py install --prefix=$(DESTDIR)$(prefix)
+ - mkdir -p ../../debian/tmp/usr/lib/python3/dist-packages
+ -$(PYTHON) setup.py install --install-lib=../../debian/tmp/usr/lib/python3/dist-packages/
clean-local:
-$(RM) -r build
|