0eeabdeb66
GitOrigin-RevId: c07b471b52be8fbc49a7dc194e9b37a6e19ee04d
16 lines
620 B
Diff
16 lines
620 B
Diff
diff --git a/Makefile.am b/Makefile.am
|
|
index 280cf64d..e10eb79f 100644
|
|
--- a/Makefile.am
|
|
+++ b/Makefile.am
|
|
@@ -888,8 +888,9 @@ $(PDIR)/timestamp: $(PDIR)/sigrok/core/classes.i \
|
|
|
|
python-install:
|
|
$(AM_V_at)$(MKDIR_P) "$(DESTDIR)$(prefix)" "$(DESTDIR)$(exec_prefix)"
|
|
- destdir='$(DESTDIR)'; $(setup_py) install $${destdir:+"--root=$$destdir"} \
|
|
- --prefix "$(prefix)" --exec-prefix "$(exec_prefix)"
|
|
+ destdir='$(DESTDIR)'; $(setup_py) install --root=$${destdir:-/} \
|
|
+ --prefix "$(prefix)" --exec-prefix "$(exec_prefix)" \
|
|
+ --single-version-externally-managed
|
|
|
|
python-clean:
|
|
-$(AM_V_at)rm -f $(PDIR)/timestamp
|