[gdm] extensions: make more srcdir != builddir friendly



commit 0f798597769d92310216b71899fd2e998c170906
Author: Ray Strode <rstrode redhat com>
Date:   Tue Aug 30 13:39:30 2011 -0400

    extensions: make more srcdir != builddir friendly

 .../extensions/fingerprint/Makefile.am             |    4 ++--
 gui/simple-greeter/extensions/password/Makefile.am |    2 +-
 .../extensions/smartcard/Makefile.am               |    4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/gui/simple-greeter/extensions/fingerprint/Makefile.am b/gui/simple-greeter/extensions/fingerprint/Makefile.am
index c3dce68..ca65f4b 100644
--- a/gui/simple-greeter/extensions/fingerprint/Makefile.am
+++ b/gui/simple-greeter/extensions/fingerprint/Makefile.am
@@ -44,12 +44,12 @@ libfingerprint_la_SOURCES =				\
 			gdm-fingerprint-extension.c
 
 $(PAM_SERVICE_NAME): $(PAM_SERVICE_NAME).pam
-	cp $(PAM_SERVICE_NAME).pam $(PAM_SERVICE_NAME)
+	cp $(srcdir)/$(PAM_SERVICE_NAME).pam $(builddir)/$(PAM_SERVICE_NAME)
 
 pamdir = $(PAM_PREFIX)/pam.d
 pam_DATA = $(PAM_SERVICE_NAME)
 
-EXTRA_DIST = $(extension_DATA) $(gsettings_SCHEMAS) $(PAM_SERVICE_NAME).pam
+EXTRA_DIST = $(extension_DATA) $(gsettings_SCHEMAS).in $(gsettings_SCHEMAS) $(PAM_SERVICE_NAME).pam
 CLEANFILES = $(PAM_SERVICE_NAME) $(gsettings_SCHEMAS)
 
 MAINTAINERCLEANFILES =                  \
diff --git a/gui/simple-greeter/extensions/password/Makefile.am b/gui/simple-greeter/extensions/password/Makefile.am
index 13898de..e15fc82 100644
--- a/gui/simple-greeter/extensions/password/Makefile.am
+++ b/gui/simple-greeter/extensions/password/Makefile.am
@@ -37,7 +37,7 @@ libpassword_la_SOURCES =				\
 			gdm-password-extension.c
 
 $(PAM_SERVICE_NAME): $(PAM_SERVICE_NAME).pam
-	cp $(PAM_SERVICE_NAME).pam $(PAM_SERVICE_NAME)
+	cp $(srcdir)/$(PAM_SERVICE_NAME).pam $(builddir)/$(PAM_SERVICE_NAME)
 
 pamdir = $(PAM_PREFIX)/pam.d
 pam_DATA = $(PAM_SERVICE_NAME)
diff --git a/gui/simple-greeter/extensions/smartcard/Makefile.am b/gui/simple-greeter/extensions/smartcard/Makefile.am
index 986bf56..1ab76b5 100644
--- a/gui/simple-greeter/extensions/smartcard/Makefile.am
+++ b/gui/simple-greeter/extensions/smartcard/Makefile.am
@@ -64,12 +64,12 @@ gdm_smartcard_worker_SOURCES =				\
 				$(NULL)
 
 $(PAM_SERVICE_NAME): $(PAM_SERVICE_NAME).pam
-	cp $(PAM_SERVICE_NAME).pam $(PAM_SERVICE_NAME)
+	cp $(srcdir)/$(PAM_SERVICE_NAME).pam $(builddir)/$(PAM_SERVICE_NAME)
 
 pamdir = $(PAM_PREFIX)/pam.d
 pam_DATA = $(PAM_SERVICE_NAME)
 
-EXTRA_DIST = $(extension_DATA) $(gsettings_SCHEMAS) $(PAM_SERVICE_NAME).pam
+EXTRA_DIST = $(extension_DATA) $(gsettings_SCHEMAS).in $(gsettings_SCHEMAS) $(PAM_SERVICE_NAME).pam
 CLEANFILES = $(PAM_SERVICE_NAME) $(gsettings_SCHEMAS)
 
 MAINTAINERCLEANFILES =                  \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]