[Likwid-commit] [likwid] 08/09: fix PREFIX in perl scripts

Christoph Martin chrism at debian.org
Fri Sep 4 08:15:10 UTC 2015


This is an automated email from the git hooks/post-receive script.

chrism pushed a commit to branch master
in repository likwid.

commit bccb898cf311500c2a7a0ce50e59a7a51e49bf17
Author: Christoph Martin <martin at uni-mainz.de>
Date:   Thu Sep 3 12:38:27 2015 +0200

    fix PREFIX in perl scripts
---
 debian/patches/10-debianize.patch | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/debian/patches/10-debianize.patch b/debian/patches/10-debianize.patch
index 27eeedf..1f50bd4 100644
--- a/debian/patches/10-debianize.patch
+++ b/debian/patches/10-debianize.patch
@@ -69,6 +69,15 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
  
  $(GENGROUPLOCK): $(foreach directory,$(shell ls $(GROUP_DIR)), $(wildcard $(GROUP_DIR)/$(directory)/*.txt))
  	@echo "===>  GENERATE GROUP HEADERS"
+@@ -293,7 +293,7 @@ install:
+ 	done
+ 	@cp -f perl/feedGnuplot  $(PREFIX)/bin
+ 	@for app in $(PERL_APPS); do \
+-		sed -e "s+<PREFIX>+$(PREFIX)+g" perl/$$app > $(PREFIX)/bin/$$app; \
++		sed -e "s+<PREFIX>+/usr+g" perl/$$app > $(PREFIX)/bin/$$app; \
+ 	done
+ 	@chmod 755 $(PREFIX)/bin/likwid-*
+ 	@echo "===> INSTALL daemon applications to $(PREFIX)/sbin"
 @@ -329,11 +329,15 @@ install:
  	@cp -f src/includes/likwid*.h  $(PREFIX)/include/
  	@cp -f src/includes/*  $(PREFIX)/include/likwid
@@ -89,7 +98,7 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
  	@echo "===> INSTALL filters to $(LIKWIDFILTERPATH)"
  	@mkdir -p $(LIKWIDFILTERPATH)
  	@cp -f filters/*  $(LIKWIDFILTERPATH)
-@@ -352,8 +356,8 @@ uninstall:
+@@ -353,8 +357,8 @@ uninstall:
  	@echo "===> REMOVING headers from $(PREFIX)/include"
  	@rm -f $(PREFIX)/include/likwid*.h
  	@rm -rf $(PREFIX)/include/likwid

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/likwid/likwid.git



More information about the Likwid-commit mailing list