On Sun, Mar 13, 2011 at 12:24 AM, Russell Bryant
<russell(a)russellbryant.net> wrote:
This change makes a minor tweak to the top level GNUMakefile to
allow
"make" to still work after a first attempt resulted in some errors from
cmake (such as missing dependencies). By not specifying linux.build as
a PHONY target, the commands would not run once the first invokation
created the directory. Now the commands will always be run when "make"
is executed from the top level directory.
I'd swear it wasn't behaving for me even when I did add them to .PHONY
But perhaps I just needed sleep.
Adam, can you apply pls?
Russell: or if you have a github account you can also send a pull
request, no copy+paste that way :-)
Signed-off-by: Russell Bryant <russell(a)russellbryant.net>
---
GNUmakefile | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/GNUmakefile b/GNUmakefile
index 979d7b8..bc9d143 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -35,7 +35,7 @@ PROFILE ?= fedora-14-x86_64
linux.build:
@echo "=::=::=::= Setting up for Linux =::=::=::= "
- mkdir $@
+ mkdir -p $@
cd $@ && eval "`rpm --eval "%{cmake}" | grep -v -e
"^%"`" -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
@echo "Now enter the $@ directory and run 'make' as usual"
@@ -98,4 +98,4 @@ rpm-win:
mock-win:
make PROFILE=$(PROFILE) VARIANT=mingw32- srpm mock-nodeps
-.PHONY: check
+.PHONY: check linux.build
--
1.7.4
_______________________________________________
Matahari mailing list
Matahari(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/matahari