diff options
-rw-r--r-- | AUTHORS | 1 | ||||
-rw-r--r-- | Makefile.am | 3 |
2 files changed, 3 insertions, 1 deletions
@@ -84,3 +84,4 @@ Ted C. Cheng <tedcheng@symas.com> Jacques Vidrine <nectar@freebsd.org> Artem Kazakov <kazakov@gmail.com> Alexander V. Chernikov <melifaro@ipfw.ru> +SATOH Fumiyasu <fumiyas@osstech.co.jp> diff --git a/Makefile.am b/Makefile.am index 261fb32..027c83d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -82,7 +82,8 @@ install-nslcd_conf: @if [ -f $(DESTDIR)$(NSLCD_CONF_PATH) ]; then \ echo "$(DESTDIR)$(NSLCD_CONF_PATH) already exists, install will not overwrite"; \ else \ - $(INSTALL_DATA) -D $(srcdir)/nslcd.conf $(DESTDIR)$(NSLCD_CONF_PATH) || true; \ + $(mkinstalldirs) `dirname $(DESTDIR)$(NSLCD_CONF_PATH)`; \ + $(INSTALL_DATA) $(srcdir)/nslcd.conf $(DESTDIR)$(NSLCD_CONF_PATH); \ fi uninstall-nslcd_conf: -rm -f $(DESTDIR)$(NSLCD_CONF_PATH) |