6
@INTLTOOL_SCHEMAS_RULE@
8
schemasdir = @GCONF_SCHEMA_FILE_DIR@
9
schemas_in_files = gnome-screensaver.schemas.in
10
schemas_DATA = $(schemas_in_files:.schemas.in=.schemas)
12
@INTLTOOL_DESKTOP_RULE@
14
desktopdir = $(datadir)/applications
15
desktop_in_files = gnome-screensaver-preferences.desktop.in
16
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
18
@INTLTOOL_DIRECTORY_RULE@
20
directorydir = $(datadir)/desktop-directories
21
directory_in_files = \
22
gnome-screensaver.directory.in \
24
directory_DATA = $(directory_in_files:.directory.in=.directory)
26
themesdir = $(pkgdatadir)/themes
28
menudir = $(sysconfdir)/xdg/menus
30
gnome-screensavers.menu \
33
gladedir = $(pkgdatadir)
34
glade_DATA = gnome-screensaver-preferences.glade
39
$(directory_in_files) \
50
MAINTAINERCLEANFILES = \
54
if GCONF_SCHEMAS_INSTALL
55
# don't do this if we are building in eg. rpm
56
install-data-local: $(schemas_DATA)
57
if test -z "$(DESTDIR)" ; then \
58
for p in $(schemas_DATA) ; do \
59
GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(top_builddir)/data/$$p ; \
68
if test -f /usr/include/security/pam_appl.h; then \
69
if test '!' -d $(DESTDIR)$(PAM_PREFIX)/pam.d; then \
70
$(mkinstalldirs) $(DESTDIR)$(PAM_PREFIX)/pam.d; \
71
chmod 755 $(DESTDIR)$(PAM_PREFIX)/pam.d; \
73
if test $$system = Linux; then \
74
if test '!' -f $(DESTDIR)$(PAM_PREFIX)/pam.d/gnome-screensaver; then \
75
$(INSTALL_DATA) gnome-screensaver $(DESTDIR)$(PAM_PREFIX)/pam.d/gnome-screensaver; \
77
if test "x$(PAM_PREFIX)" != "x/etc/pam.d"; then \
79
echo "*** Warning: gnome-screensaver has been compiled with support for" ; \
80
echo "*** Pluggable Authentication Modules (PAM). However, you may need to" ; \
81
echo "*** manually install $(PAM_PREFIX)/pam.d/gnome-screensaver" ; \
82
echo "*** to /etc/pam.d/gnome-screensaver. Otherwise, unlocking might" ; \
83
echo "*** not work." ; \
85
echo "*** Note: If you are using SuSE/Novell you may have to modify this file." ; \
89
if test $$system = SunOS; then \
91
echo "*** Warning: gnome-screensaver has been compiled with support for" ; \
92
echo "*** Pluggable Authentication Modules (PAM). However, you" ; \
93
echo "*** need to manually add authentication for gnome-screensaver in" ; \
94
echo "*** $(PAM_PREFIX)/pam.conf or /etc/pam.conf." ; \
95
echo "*** Otherwise, unlocking might not work." ; \