patches/glibc/2.12.1/920-make-382.patch
author Michael Hope <michael.hope@linaro.org>
Thu Sep 29 12:27:54 2011 +1300 (2011-09-29)
changeset 2694 2c01a02334ea
permissions -rw-r--r--
Makefile: use phony targets

Add 'build', 'build-*', and 'install' as phony targets to the top level
Makefile.

I tend to do everything in tree with the build in a directory called
'build'. This interfered with the target 'build', making it think the
target was up to date, and stopping scripts/crosstool-NG.sh from being
regenerated.

Added 'install' as I often set the prefix to $PWD/install.

Signed-off-by: Michael Hope <michael.hope@linaro.org>
yann@2437
     1
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=blob_plain;f=source/base/glibc/make-3.82-fix.patch;hb=8217c32ecc2e14962847ba3d8a272eb64a3dba4f
yann@2437
     2
yann@2437
     3
--- glibc-2.10.1.OLD/manual/Makefile
yann@2437
     4
+++ glibc-2.10.1.NEW/manual/Makefile
yann@2437
     5
@@ -232,7 +232,9 @@
yann@2437
     6
 .PHONY: stubs
yann@2437
     7
 stubs: $(objpfx)stubs
yann@2437
     8
 endif
yann@2437
     9
-$(objpfx)stubs ../po/manual.pot $(objpfx)stamp%:
yann@2437
    10
+$(objpfx)stubs ../po/manual.pot:
yann@2437
    11
+	touch $@
yann@2437
    12
+$(objpfx)stamp%:
yann@2437
    13
 	$(make-target-directory)
yann@2437
    14
 	touch $@
yann@2437
    15