SUBDIRS = \
	po \
	config \
	pixmaps \
	vicious-extensions \
	daemon \
	gui \
	utils \
	docs

# 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	\
	gnome-doc-utils.make	\
	xmldocs.make		\
	omf.make

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

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
endif

DISTCLEANFILES = \
	gnome-doc-utils.make	\
	intltool-extract	\
	intltool-merge		\
	intltool-update

DISTCHECK_CONFIGURE_FLAGS = --disable-scrollkeeper

distuninstallcheck_listfiles = find . -type f -print | grep -v '^\./var/scrollkeeper'
