blob: 1bae8e9ac6fd7579bbc9460e69739fd559ae95f1 (
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
|
SUBDIRS = \
images
NULL =
man_MANS = \
mate-screensaver.1 \
mate-screensaver-command.1 \
mate-screensaver-preferences.1 \
$(NULL)
@INTLTOOL_SCHEMAS_RULE@
schemasdir = @MATECONF_SCHEMA_FILE_DIR@
schemas_in_files = mate-screensaver.schemas.in
schemas_DATA = $(schemas_in_files:.schemas.in=.schemas)
@INTLTOOL_DESKTOP_RULE@
desktopdir = $(datadir)/applications
desktop_in_files = mate-screensaver-preferences.desktop.in
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
@INTLTOOL_DIRECTORY_RULE@
directorydir = $(datadir)/desktop-directories
directory_in_files = \
mate-screensaver.directory.in \
$(NULL)
directory_DATA = $(directory_in_files:.directory.in=.directory)
menudir = $(sysconfdir)/xdg/menus
menu_DATA = \
mate-screensavers.menu \
$(NULL)
gtkbuilderdir = $(pkgdatadir)
gtkbuilder_DATA = \
mate-screensaver-preferences.ui \
lock-dialog-default.ui \
$(NULL)
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = mate-screensaver.pc
dbussessionservicedir = $(DBUS_SESSION_SERVICE_DIR)
dbussessionservice_DATA = org.mate.ScreenSaver.service
EXTRA_DIST = \
$(schemas_in_files) \
$(desktop_in_files) \
$(directory_in_files) \
$(gtkbuilder_DATA) \
$(man_MANS) \
mate-screensaver \
mate-screensaver.pc.in \
org.mate.ScreenSaver.service.in\
xscreensaver-config.xsl \
migrate-xscreensaver-config.sh \
$(NULL)
DISTCLEANFILES = \
$(schemas_DATA) \
$(desktop_DATA) \
$(directory_DATA) \
$(NULL)
MAINTAINERCLEANFILES = \
*~ \
Makefile.in
if MATECONF_SCHEMAS_INSTALL
# don't do this if we are building in eg. rpm
install-data-local: $(schemas_DATA)
if test -z "$(DESTDIR)" ; then \
for p in $(schemas_DATA) ; do \
MATECONF_CONFIG_SOURCE=$(MATECONF_SCHEMA_CONFIG_SOURCE) $(MATECONFTOOL) --makefile-install-rule $(top_builddir)/data/$$p ; \
done \
fi
else
install-data-local:
endif
install-data-hook:
@system=`uname`; \
if test -f /usr/include/security/pam_appl.h; then \
if test '!' -d $(DESTDIR)$(PAM_PREFIX)/pam.d; then \
$(mkinstalldirs) $(DESTDIR)$(PAM_PREFIX)/pam.d; \
chmod 755 $(DESTDIR)$(PAM_PREFIX)/pam.d; \
fi; \
if test $$system = Linux; then \
if test '!' -f $(DESTDIR)$(PAM_PREFIX)/pam.d/mate-screensaver; then \
$(INSTALL_DATA) mate-screensaver $(DESTDIR)$(PAM_PREFIX)/pam.d/mate-screensaver; \
fi; \
if test "x$(PAM_PREFIX)" != "x/etc/pam.d"; then \
echo "***" ; \
echo "*** Warning: mate-screensaver has been compiled with support for" ; \
echo "*** Pluggable Authentication Modules (PAM). However, you may need to" ; \
echo "*** manually install $(PAM_PREFIX)/pam.d/mate-screensaver" ; \
echo "*** to /etc/pam.d/mate-screensaver. Otherwise, unlocking might" ; \
echo "*** not work." ; \
echo "***" ; \
echo "*** Note: If you are using SuSE/Novell you may have to modify this file." ; \
echo "***" ; \
fi; \
fi; \
if test $$system = SunOS; then \
echo "***" ; \
echo "*** Warning: mate-screensaver has been compiled with support for" ; \
echo "*** Pluggable Authentication Modules (PAM). However, you" ; \
echo "*** need to manually add authentication for mate-screensaver in" ; \
echo "*** $(PAM_PREFIX)/pam.conf or /etc/pam.conf." ; \
echo "*** Otherwise, unlocking might not work." ; \
echo "***" ; \
fi; \
fi
|