summary refs log tree commit diff
path: root/nss
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-06-15 21:26:56 -0400
committerUlrich Drepper <drepper@gmail.com>2011-06-15 21:26:56 -0400
commit77fb9117432a754388c52f6eb06c60a828975350 (patch)
tree866ed045488ec70547223b276bb22cf5860c2eee /nss
parent40c1b22cd76995f0b614745c3954755e462b7f56 (diff)
downloadglibc-77fb9117432a754388c52f6eb06c60a828975350.tar.gz
glibc-77fb9117432a754388c52f6eb06c60a828975350.tar.xz
glibc-77fb9117432a754388c52f6eb06c60a828975350.zip
Install db-Makefile
Diffstat (limited to 'nss')
-rw-r--r--nss/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/nss/Makefile b/nss/Makefile
index f6065cc2b8..60c65492ff 100644
--- a/nss/Makefile
+++ b/nss/Makefile
@@ -78,6 +78,8 @@ generated		+= $(filter-out db-alias.c db-netgrp.c, \
 					$(addsuffix .c,$(libnss_db-dbs)))
 distribute		+= $(addprefix nss_db/, db-XXX.c nss_db.h)
 
+install-others		+= $(inst_vardbdir)/Makefile
+
 # Build static module if requested
 ifneq ($(build-static-nss),yes)
 libnss_files-inhibit-o	= $(filter-out .os,$(object-suffixes))
@@ -114,6 +116,9 @@ $(libnss_db-dbs:%=$(objpfx)%.c): $(objpfx)db-%.c: nss_files/files-%.c
 
 $(objpfx)makedb: $(makedb-modules:%=$(objpfx)%.o)
 
+$(inst_vardbdir)/Makefile: db-Makefile $(+force)
+	$(do-install)
+
 distribute		+= nss_test1.c
 
 CFLAGS-nss_test1.c = -DNOT_IN_libc=1