## $Id: Makefile-files,v 1.33 2005/04/28 17:45:34 ensc Exp $  -*- makefile -*-

## Copyright (C) 2003 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
##  
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2, 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 General Public License for more details.
##  
## You should have received a copy of the GNU General Public License
## along with this program; if not, write to the Free Software
## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
##  

AM_INSTALLCHECK_STD_OPTIONS_EXEMPT += \
				scripts/vapt-get-worker \
				scripts/vrpm-worker \
				scripts/vyum-worker \
				scripts/vrpm-preload \
				scripts/save_s_context \
				scripts/vservers.grabinfo.sh \
				scripts/vpstree \
				scripts/vserver-wrapper \
				scripts/vsysvwrapper \
				scripts/vtop \
				scripts/legacy/distrib-info \
				scripts/legacy/vps \
				scripts/legacy/save_s_context \
				scripts/legacy/vserver \
				scripts/legacy/rootshell \
				scripts/legacy/vserver-copy \
				scripts/legacy/vserverkillall


scripts_pkglib_src_DTA =	scripts/functions \
				scripts/vserver-build.apt-rpm \
				scripts/vserver-build.skeleton \
				scripts/vserver-build.debootstrap \
				scripts/vserver-build.rpm \
				scripts/vserver-build.yum \
				scripts/vserver-build.functions \
				scripts/vserver-build.functions.apt \
				scripts/vserver-build.functions.rpm \
				scripts/vserver-build.functions.pkgmgmt \
				scripts/vserver-build.functions.yum \
				scripts/vserver-setup.functions \
				scripts/vserver.functions \
				scripts/vserver.start \
				scripts/vserver.stop \
				scripts/vserver.suexec

scripts_pkglib_gen_DTA =	scripts/util-vserver-vars

scripts_pkglib_src_SCRPTS =	scripts/pkgmgmt \
				scripts/vapt-get-worker \
				scripts/vpkg \
				scripts/vrpm-worker \
				scripts/vrpm-preload \
				scripts/start-vservers \
				scripts/vprocunhide \
				scripts/vserver-build \
				scripts/vserver-wrapper \
				scripts/vservers.grabinfo.sh \
				scripts/vshelper \
				scripts/vsysvwrapper \
				scripts/vyum-worker

scripts_legacy_src_SCRPTS =	scripts/legacy/save_s_context \
				scripts/legacy/vserver \
				scripts/legacy/rootshell \
				scripts/legacy/distrib-info \
				scripts/legacy/vserverkillall
scripts_legacy_gen_SCRPTS =	scripts/legacy/vps
scripts_legacy_src_PRGS =	scripts/legacy/vserver-copy

scripts_sbin_src_PRGS =		scripts/chcontext \
				scripts/vapt-get \
				scripts/vpstree \
				scripts/vrpm \
				scripts/vserver \
				scripts/vsomething \
				scripts/vtop \
				scripts/vyum

scripts_sbin_gen_PRGS =
scripts_sbincfg_gen_DTA =

scripts_subst_SRCS =		scripts/util-vserver-vars.pathsubst \
				scripts/legacy/vps.pathsubst



sbin_SCRIPTS +=			$(scripts_sbin_src_PRGS) $(scripts_sbin_gen_PRGS) \
				$(scripts_legacy_src_PRGS)
scripts_sbincfg_DTA =		$(scripts_sbincfg_gen_DTA)
pkglib_SCRIPTS +=		$(scripts_pkglib_src_SCRPTS)
legacy_SCRIPTS +=		$(scripts_legacy_src_SCRPTS) $(scripts_legacy_gen_SCRPTS)
pkglib_DATA +=			$(scripts_pkglib_src_DTA) $(scripts_pkglib_gen_DTA)

CLEANFILES +=			$(scripts_pkglib_gen_DTA) \
				$(scripts_sbin_gen_PRGS) \
				$(scripts_sbincfg_gen_DTA) \
				$(scripts_legacy_gen_SCRPTS)

EXTRA_DIST +=			$(scripts_pkglib_src_DTA) \
				$(scripts_pkglib_src_SCRPTS) \
				$(scripts_legacy_src_SCRPTS) \
				$(scripts_legacy_src_PRGS) \
				$(scripts_sbin_src_PRGS) \
				$(scripts_subst_SRCS)

scripts/util-vserver-vars:	scripts/.util-vserver-vars.pathsubst.stamp
scripts/legacy/vps:		scripts/legacy/.vps.pathsubst.stamp
