summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 5239c5e3d084ef64268f5e4bcb18245ea73c3e93 (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
SUBDIRS = config pixmaps vicious-extensions \
	daemon gui utils po 

# add these when help gets added back
# docs omf-install

EXTRA_DIST = \
	ChangeLog		\
	README.install		\
	gdm.spec		\
	gdm.spec.in		\
	gdmsetup-pam		\
	gdmsetup-security.in	\
	intltool-extract.in	\
	intltool-merge.in	\
	intltool-update.in	\
	gdm-stop.in		\
	gdm-restart.in		\
	gdm-safe-restart.in	\
	gdmconfig

sbin_SCRIPTS = gdm-stop gdm-restart gdm-safe-restart gdmconfig

install-data-local: gdmsetup-security
if CONSOLE_HELPER
	$(INSTALL_DATA) -D $(srcdir)/gdmsetup-pam $(DESTDIR)$(PAM_PREFIX)/pam.d/gdmsetup
	$(INSTALL_DATA) -D gdmsetup-security $(DESTDIR)$(PAM_PREFIX)/security/console.apps/gdmsetup
	$(INSTALL_DATA) -m 755 -d $(DESTDIR)$(sbindir)
	mv -f $(DESTDIR)$(bindir)/gdmsetup $(DESTDIR)$(sbindir)
	$(LN_S) @CONSOLE_HELPER@ $(DESTDIR)$(bindir)/gdmsetup
endif

DISTCLEANFILES = \
	intltool-extract	\
	intltool-merge		\
	intltool-update