qubes-installer-qubes-os/anaconda/data/liveinst/Makefile.am
2013-01-24 01:45:53 +01:00

57 lines
1.7 KiB
Makefile

# 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 <http://www.gnu.org/licenses/>.
#
# Author: David Cantrell <dcantrell@redhat.com>
SUBDIRS = console.apps gnome pam.d
if IS_LIVEINST_ARCH
dist_sbin_SCRIPTS = liveinst
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)
ln -s consolehelper $(DESTDIR)$(bindir)/liveinst
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