Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.am2
-rw-r--r--pam/Makefile.am6
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)