diff options
| author | Mike Frysinger <vapier@gentoo.org> | 2013-05-14 09:37:07 +1000 |
|---|---|---|
| committer | Allan McRae <allan@archlinux.org> | 2015-02-08 19:57:38 +1000 |
| commit | 1d77d8681654192d5207a6993314a091972a1f82 (patch) | |
| tree | efc709ccdf769a0927c6894e9a3ee87103327067 | |
| parent | ae20c9a17cd95b6f367209c2a9075587616ceb42 (diff) | |
| download | glibc-1d77d8681654192d5207a6993314a091972a1f82.tar.xz glibc-1d77d8681654192d5207a6993314a091972a1f82.zip | |
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.
| -rw-r--r-- | nscd/Makefile | 4 | ||||
| -rw-r--r-- | posix/Makefile | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/nscd/Makefile b/nscd/Makefile index ede941d1b2..184c921b12 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 15e8818787..beba7e2aed 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 |
