($(inst_includedir)/bits/stdio_lim.h): Use $(do-install).
[kopensolaris-gnu/glibc.git] / stdio-common / Makefile
index b8f1418..49f9ddb 100644 (file)
@@ -36,6 +36,8 @@ routines      :=                                                            \
        remove rename                                                         \
        lockfile
 
+include ../Makeconfig
+
 install-others := $(inst_includedir)/bits/stdio_lim.h
 
 aux    := errlist siglist
@@ -59,10 +61,7 @@ CFLAGS-scanf7.c = -Wno-format
 CFLAGS-tst-printfsz.c = -Wno-format
 
 $(inst_includedir)/bits/stdio_lim.h: $(common-objpfx)bits/stdio_lim.h
-       $(make-target-directory)
-       if test -r $@ && cmp -s $< $@; \
-       then echo 'gnu/lib-names.h unchanged'; \
-       else $(INSTALL_DATA) $< $@; fi
+       $(do-install)
 
 ifeq ($(stdio),libio)
 ifneq (,$(filter %REENTRANT, $(defines)))