(headers): Add gnu/lib-names.h here instead of install-others.
authordrepper <drepper>
Sat, 6 Apr 2002 01:12:23 +0000 (01:12 +0000)
committerdrepper <drepper>
Sat, 6 Apr 2002 01:12:23 +0000 (01:12 +0000)
($(inst_includedir)/gnu/lib-names.h): Remove explicit
installation rule.
(install-headers): Add dependency on install-headers-nosubdir.

Makefile

index 9f707f8..eba8cad 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -78,7 +78,7 @@ install-others = $(inst_includedir)/gnu/stubs.h
 install-bin-script = glibcbug
 
 ifeq (yes,$(build-shared))
-install-others += $(inst_includedir)/gnu/lib-names.h
+headers += gnu/lib-names.h
 endif
 
 include Makerules
@@ -90,6 +90,9 @@ endif
 # Install from subdirectories too.
 install: subdir_install
 
+# Explicit dependency so that `make install-headers' works
+install-headers: install-headers-nosubdir
+
 # Make sure that the dynamic linker is installed before libc.
 $(inst_slibdir)/libc-$(version).so: elf/ldso_install
 
@@ -155,12 +158,6 @@ $(inst_includedir)/gnu/stubs.h: subdir_install
        else $(INSTALL_DATA) $(objpfx)stubs.h $@; fi
        rm -f $(objpfx)stubs.h
 \f
-ifeq (yes,$(build-shared))
-
-$(inst_includedir)/gnu/lib-names.h: $(common-objpfx)gnu/lib-names.h $(+force)
-       $(do-install)
-endif
-\f
 # The `glibcbug' script contains the version number and it shall be rebuild
 # whenever this changes or the `glibcbug.in' file.
 $(objpfx)glibcbug: $(common-objpfx)config.status glibcbug.in