From: Mike Frysinger Date: Mon, 13 May 2013 23:37:07 +0000 (+1000) Subject: Install config files X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d77d8681654192d5207a6993314a091972a1f82;p=thirdparty%2Fglibc.git Install config files glibc comes with a bunch of config files that every distro hand installs because glibc itself doesn't take care of it. Update glibc to do the work. --- diff --git a/nscd/Makefile b/nscd/Makefile index ede941d1b2a..184c921b129 100644 --- a/nscd/Makefile +++ b/nscd/Makefile @@ -26,6 +26,7 @@ ifneq ($(use-nscd),no) routines := nscd_getpw_r nscd_getgr_r nscd_gethst_r nscd_getai \ nscd_initgroups nscd_getserv_r nscd_netgroup aux := nscd_helper +install-others = $(inst_sysconfdir)/nscd.conf endif # To find xmalloc.c @@ -104,3 +105,6 @@ $(objpfx)nscd: $(shared-thread-library) $(common-objpfx)nis/libnsl.so else $(objpfx)nscd: $(static-thread-library) $(common-objpfx)nis/libnsl.a endif + +$(inst_sysconfdir)/nscd.conf: nscd.conf $(+force) + $(do-install) diff --git a/posix/Makefile b/posix/Makefile index 15e8818787a..beba7e2aed6 100644 --- a/posix/Makefile +++ b/posix/Makefile @@ -98,6 +98,7 @@ tests += $(tests-static) others := getconf install-bin := getconf install-others-programs := $(inst_libexecdir)/getconf +install-others = $(inst_sysconfdir)/gai.conf before-compile += testcases.h ptestcases.h $(objpfx)posix-conf-vars-def.h @@ -316,6 +317,9 @@ $(inst_libexecdir)/getconf: $(inst_bindir)/getconf \ mv -f $@/$$spec.new $@/$$spec; \ done < $(objpfx)getconf.speclist +$(inst_sysconfdir)/gai.conf: gai.conf $(+force) + $(do-install) + $(objpfx)getconf.speclist: getconf-speclist.c posix-envs.def $(compile.c) -E -o - \ | sed -n -e '/@@@PRESENT_/s/@@@PRESENT_//p' > $@.new