This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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` $@


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]