# liveinst/Makefile.am for anaconda
#
# Copyright (C) 2009 Red Hat, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published
# by the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with this program. If not, see .
#
# Author: David Cantrell
SUBDIRS = console.apps pam.d
if IS_LIVEINST_ARCH
dist_sbin_SCRIPTS = liveinst liveinst-update liveinst-update-quick
desktopdir = $(datadir)/applications
desktop_DATA = liveinst.desktop
xinitdir = /etc/X11/xinit/xinitrc.d
dist_xinit_SCRIPTS = zz-liveinst.sh
endif
EXTRA_DIST = README liveinst.desktop.in
CLEANFILES = liveinst.desktop *.h
MAINTAINERCLEANFILES = Makefile.in
intltool_merge_verbose = $(intltool_merge_verbose_$(V))
intltool_merge_verbose_ = $(intltool_merge_verbose_$(AM_DEFAULT_VERBOSITY))
intltool_merge_verbose_0 = @echo " MERGE "$@;
liveinst.desktop: liveinst.desktop.in
$(intltool_merge_verbose)LC_ALL=C intltool-merge -q -d -u $(top_srcdir)/po liveinst.desktop.in liveinst.desktop
install-exec-local:
mkdir -p $(DESTDIR)$(bindir)
uninstall-local:
rm -f $(DESTDIR)$(bindir)/liveinst
for d in $(DESTDIR)$(bindir) ; do
while [ ! -z "$$d" ]; do \
rmdir $$d 2>/dev/null ; \
d="`dirname $$d`" ; \
done ; \
done