[Forensics-changes] [grokevt] 01/01: d/patch/install_prefix: use $(PREFIX) variable on Makefile
Samuel Henrique
samueloph-guest at moszumanska.debian.org
Sun Sep 24 22:34:00 UTC 2017
This is an automated email from the git hooks/post-receive script.
samueloph-guest pushed a commit to branch debian/master
in repository grokevt.
commit 38dbf0ab732e39b16338098385485dc107d076cf
Author: Samuel Henrique <samueloph at gmail.com>
Date: Sun Sep 24 19:23:02 2017 -0300
d/patch/install_prefix: use $(PREFIX) variable on Makefile
---
debian/patches/install_prefix.patch | 17 +++++++++++++++++
debian/patches/series | 1 +
2 files changed, 18 insertions(+)
diff --git a/debian/patches/install_prefix.patch b/debian/patches/install_prefix.patch
new file mode 100644
index 0000000..f24e5c1
--- /dev/null
+++ b/debian/patches/install_prefix.patch
@@ -0,0 +1,17 @@
+Description: use $(PREFIX) variable on Makefile
+Author: Hugo Lefeuvre <hle at debian.org>
+Index: grokevt/Makefile
+===================================================================
+--- grokevt.orig/Makefile
++++ grokevt/Makefile
+@@ -35,8 +35,8 @@ install: all
+ cp -r $(BUILD_BIN)/* $(BIN_PREFIX)
+ cp -r $(BUILD_ETC)/* $(ETC_PREFIX)
+ cp -r $(BUILD_DOC)/* $(DOC_PREFIX)
+- if [ "x$(PYTHON_PATH)" != "x" ]; then $(PYTHON_PATH) grokevt-distutils.py install --install-layout=deb; fi
+- if [ "x$(PYTHON3_PATH)" != "x" ]; then $(PYTHON_PATH) grokevt-distutils.py install --install-layout=deb; fi
++ if [ "x$(PYTHON_PATH)" != "x" ]; then $(PYTHON_PATH) grokevt-distutils.py install --install-layout=deb --prefix $(PREFIX); fi
++ if [ "x$(PYTHON3_PATH)" != "x" ]; then $(PYTHON_PATH) grokevt-distutils.py install --install-layout=deb --prefix $(PREFIX); fi
+ $(MAKE) -C doc install
+
+
diff --git a/debian/patches/series b/debian/patches/series
index daf01d3..9a31d77 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
01-config-path.patch
+install_prefix.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/forensics/grokevt.git
More information about the forensics-changes
mailing list