This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH] Mark install as phony
- From: Michael Hope <michael dot hope at linaro dot org>
- To: libc-alpha at sourceware dot org
- Date: Wed, 26 Sep 2012 10:54:04 +1200
- Subject: [PATCH] Mark install as phony
Mark the install target in Makefile.in as phony so the rule will still run
when the user has a 'install' directory in their build directory.
I normally set the install prefix to $PWD/install using something like:
.../build/glibc$ ../../glibc/configure --prefix=$PWD/install
which works fine on the first 'make install' but blocks each one past that.
OK for trunk?
-- Michael
2012-09-26 Michael Hope <michael.hope@linaro.org>
* Makefile.in (install): Mark as phony.
diff --git a/Makefile.in b/Makefile.in
index 1f5dc1c..2618cc6 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -6,6 +6,7 @@ srcdir = @srcdir@
all .DEFAULT:
$(MAKE) -r PARALLELMFLAGS="$(PARALLELMFLAGS)" -C $(srcdir) objdir=`pwd` $@
+.PHONY: install
install:
LANGUAGE=C LC_ALL=C; export LANGUAGE LC_ALL; \
$(MAKE) -r PARALLELMFLAGS="$(PARALLELMFLAGS)" -C $(srcdir) objdir=`pwd` $@