Correct $PWD usage, so make install works from inside module/.
authorBehdad Esfahbod <behdad@gnome.org>
Fri, 5 Jan 2007 21:39:25 +0000 (21:39 +0000)
committerBehdad Esfahbod <behdad@src.gnome.org>
Fri, 5 Jan 2007 21:39:25 +0000 (21:39 +0000)
2007-01-05  Behdad Esfahbod  <behdad@gnome.org>

        * module/Makefile: Correct $PWD usage, so make install works from
        inside module/.

svn path=/trunk/; revision=346

ChangeLog
module/Makefile

index 3922ff8..0fd1917 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-01-05  Behdad Esfahbod  <behdad@gnome.org>
+
+       * module/Makefile: Correct $PWD usage, so make install works from
+       inside module/.
+
 2006-12-09  Soren Sandmann <sandmann@daimi.au.dk>
 
        * module/sysprof-module.c: Add forgotten put_cpu_var(). 
index b87e2a1..b36bb97 100644 (file)
@@ -12,9 +12,9 @@ endif
 MODULE    := sysprof-module
 KDIR      := /lib/modules/$(shell uname -r)/build # /home/ssp/linux-2.6.19/
 INCLUDE   := -isystem $(KDIR)/include
-MODCFLAGS := -DMODULE -D__KERNEL__ -Wall ${INCLUDE}
+MODCFLAGS := -DMODULE -D__KERNEL__ -Wall $(INCLUDE)
 
-KMAKE    := $(MAKE) -C $(KDIR) SUBDIRS=$(PWD)
+KMAKE    := $(MAKE) -C $(KDIR) SUBDIRS=$$PWD
 
 modules: $(MODULE).o