summaryrefslogtreecommitdiffstats
path: root/wm-addons
diff options
context:
space:
mode:
authorFlorian Franzmann2013-05-25 12:24:04 +0200
committerFlorian Franzmann2013-05-25 12:24:04 +0200
commitd573dd627dff5baecc4b176a9c5b1f2803be1e99 (patch)
tree3caed90d196a05ec1b613896317019b44ae1b77c /wm-addons
parent2added396b50d0e89d790950b2369b15426bd5ba (diff)
wm-addons/procmeter: fix modules Makefile
Diffstat (limited to 'wm-addons')
-rw-r--r--wm-addons/procmeter/HISTORY1
-rwxr-xr-xwm-addons/procmeter/PRE_BUILD6
2 files changed, 5 insertions, 2 deletions
diff --git a/wm-addons/procmeter/HISTORY b/wm-addons/procmeter/HISTORY
index 040f6d787d..03df570443 100644
--- a/wm-addons/procmeter/HISTORY
+++ b/wm-addons/procmeter/HISTORY
@@ -1,5 +1,6 @@
2013-05-25 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de>
* INSTALL: install manpages
+ * PRE_BUILD: fix modules Makefile
* DETAILS: PATCHLEVEL=1
2012-06-02 Arjan Bouter <abouter@sourcemage.org>
diff --git a/wm-addons/procmeter/PRE_BUILD b/wm-addons/procmeter/PRE_BUILD
index 8ce2aaac90..4e97fc54be 100755
--- a/wm-addons/procmeter/PRE_BUILD
+++ b/wm-addons/procmeter/PRE_BUILD
@@ -1,4 +1,6 @@
default_pre_build &&
cd ${SOURCE_DIRECTORY} &&
-sedit "s:^CFLAGS=.*:CFLAGS=${CFLAGS}:" Makefile &&
-sedit 's#/usr/local#/usr#' Makefile
+for makefile in Makefile modules/Makefile; do
+ sedit "s:^CFLAGS=.*:CFLAGS=${CFLAGS}:" $makefile &&
+ sedit 's#/usr/local#/usr#' $makefile
+done