diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2010-12-29 22:20:53 +0000 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2010-12-29 22:20:53 +0000 |
commit | ed6bc27721075adf0215ad8b856fcdcf7b98b9b7 (patch) | |
tree | bb3f11e7b94ac24988172ef4b6328c5bddce8ac4 | |
parent | 5f32ec0a16b5a07c401493032c7402a8289a2878 (diff) |
fix distcheck by passing --with-pam-seclib-dir to configure and remove unneeded slashes
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1348 ef36b2f9-881f-0410-afb5-c4e39611909c
-rw-r--r-- | Makefile.am | 2 | ||||
-rw-r--r-- | pam/Makefile.am | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am index 1b76fc4..e4b0f90 100644 --- a/Makefile.am +++ b/Makefile.am @@ -67,7 +67,7 @@ DEBIAN_FILES = debian/changelog debian/compat debian/control \ EXTRA_DIST = nslcd.conf nslcd.h $(wildcard ChangeLog-20??) \ $(wildcard m4/*.m4) HACKING $(DEBIAN_FILES) -DISTCHECK_CONFIGURE_FLAGS = --enable-warnings +DISTCHECK_CONFIGURE_FLAGS = --enable-warnings --with-pam-seclib-dir="\$${libdir}/security" ACLOCAL_AMFLAGS = -I m4 diff --git a/pam/Makefile.am b/pam/Makefile.am index b374ca9..e2145ba 100644 --- a/pam/Makefile.am +++ b/pam/Makefile.am @@ -34,9 +34,9 @@ install-exec-local: install-pam_ldap_so uninstall-local: uninstall-pam_ldap_so install-pam_ldap_so: pam_ldap.so - -rm -f $(DESTDIR)/$(PAM_SECLIB_DIR)/$(PAM_LDAP_SONAME) - $(mkinstalldirs) $(DESTDIR)/$(PAM_SECLIB_DIR) + -rm -f $(DESTDIR)$(PAM_SECLIB_DIR)/$(PAM_LDAP_SONAME) + $(mkinstalldirs) $(DESTDIR)$(PAM_SECLIB_DIR) $(INSTALL_PROGRAM) pam_ldap.so $(DESTDIR)$(PAM_SECLIB_DIR)/$(PAM_LDAP_SONAME) uninstall-pam_ldap_so: - -rm -f $(DESTDIR)/$(PAM_SECLIB_DIR)/$(PAM_LDAP_SONAME) + -rm -f $(DESTDIR)$(PAM_SECLIB_DIR)/$(PAM_LDAP_SONAME) |