summaryrefslogtreecommitdiff
blob: 3e970060e031aebc6d6ac0088f97b536c1814064 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Index: configure.in
===================================================================
--- configure.in	(revision 841)
+++ configure.in	(working copy)
@@ -249,7 +249,7 @@
 AC_ARG_WITH([pam-dir],
             [AC_HELP_STRING([--with-pam-dir=DIR],
                              [directory to install pam modules in])],
-             [], [with_pam_dir="/usr/lib"])
+             [], [with_pam_dir="/lib/security"])
 PAM_DEST_DIR="$with_pam_dir"
 AC_SUBST(PAM_DEST_DIR)
 	
Index: pam/Makefile.am
===================================================================
--- pam/Makefile.am	(revision 841)
+++ pam/Makefile.am	(working copy)
@@ -3,7 +3,8 @@
 	-I$(top_srcdir) \
 	-DGNOME_KEYRING_DAEMON=\""$(bindir)/gnome-keyring-daemon"\" 
 
-lib_LTLIBRARIES = pam_gnome_keyring.la
+pamlibdir = $(PAM_DEST_DIR)
+pamlib_LTLIBRARIES = pam_gnome_keyring.la
 
 pam_gnome_keyring_la_SOURCES = \
 	gkr-pam.h \
@@ -17,15 +18,3 @@
 pam_gnome_keyring_la_LDFLAGS = \
 	-module -avoid-version \
 	-export-symbols-regex 'pam_sm_'
-
-install-pam: install
-	$(mkinstalldirs) "$(DESTDIR)$(PAM_DEST_DIR)"
-	cp "$(DESTDIR)$(libdir)/pam_gnome_keyring.so" "$(DESTDIR)$(PAM_DEST_DIR)"
-	( cd "$(DESTDIR)$(PAM_DEST_DIR)"; $(LN_S) -f pam_gnome_keyring.so pam_gnome_keyring_auth.so )
-	( cd "$(DESTDIR)$(PAM_DEST_DIR)"; $(LN_S) -f pam_gnome_keyring.so pam_gnome_keyring_session.so )
-	
-uninstall-pam: 
-	rm -f "$(DESTDIR)$(PAM_DEST_DIR)/pam_gnome_keyring.so"
-	rm -f "$(DESTDIR)$(PAM_DEST_DIR)/pam_gnome_keyring_auth.so"
-	rm -f "$(DESTDIR)$(PAM_DEST_DIR)/pam_gnome_keyring_session.so"
-