skip duplicate util-vserver dir
[util-vserver.git] / scripts / Makefile-files
1 ## $Id$  -*- makefile -*-
2
3 ## Copyright (C) 2003 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
4 ##  
5 ## This program is free software; you can redistribute it and/or modify
6 ## it under the terms of the GNU General Public License as published by
7 ## the Free Software Foundation; either version 2, or (at your option)
8 ## any later version.
9 ##  
10 ## This program is distributed in the hope that it will be useful,
11 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
12 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 ## GNU General Public License for more details.
14 ##  
15 ## You should have received a copy of the GNU General Public License
16 ## along with this program; if not, write to the Free Software
17 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 ##  
19
20 AM_INSTALLCHECK_STD_OPTIONS_EXEMPT += \
21                                 scripts/vapt-get-worker \
22                                 scripts/vrpm-worker \
23                                 scripts/vyum-worker \
24                                 scripts/vrpm-preload \
25                                 scripts/save_s_context \
26                                 scripts/vservers.grabinfo.sh \
27                                 scripts/vpstree \
28                                 scripts/vserver-wrapper \
29                                 scripts/vsysvwrapper \
30                                 scripts/vtop \
31                                 scripts/legacy/distrib-info \
32                                 scripts/legacy/vps \
33                                 scripts/legacy/save_s_context \
34                                 scripts/legacy/vserver \
35                                 scripts/legacy/rootshell \
36                                 scripts/legacy/vserver-copy \
37                                 scripts/legacy/vserverkillall
38
39
40 scripts_pkglib_src_DTA =        scripts/functions \
41                                 scripts/vserver-build.apt-rpm \
42                                 scripts/vserver-build.skeleton \
43                                 scripts/vserver-build.debootstrap \
44                                 scripts/vserver-build.rpm \
45                                 scripts/vserver-build.yum \
46                                 scripts/vserver-build.functions \
47                                 scripts/vserver-build.functions.apt \
48                                 scripts/vserver-build.functions.rpm \
49                                 scripts/vserver-build.functions.pkgmgmt \
50                                 scripts/vserver-build.functions.yum \
51                                 scripts/vserver-setup.functions \
52                                 scripts/vserver.functions \
53                                 scripts/vserver.start \
54                                 scripts/vserver.stop \
55                                 scripts/vserver.suexec
56
57 scripts_pkglib_gen_DTA =        scripts/util-vserver-vars
58
59 scripts_pkglib_src_SCRPTS =     scripts/pkgmgmt \
60                                 scripts/vapt-get-worker \
61                                 scripts/vpkg \
62                                 scripts/vrpm-worker \
63                                 scripts/vrpm-preload \
64                                 scripts/start-vservers \
65                                 scripts/vprocunhide \
66                                 scripts/vserver-build \
67                                 scripts/vserver-wrapper \
68                                 scripts/vservers.grabinfo.sh \
69                                 scripts/vshelper \
70                                 scripts/vsysvwrapper \
71                                 scripts/vyum-worker
72
73 scripts_legacy_src_SCRPTS =     scripts/legacy/save_s_context \
74                                 scripts/legacy/vserver \
75                                 scripts/legacy/rootshell \
76                                 scripts/legacy/distrib-info \
77                                 scripts/legacy/vserverkillall
78 scripts_legacy_gen_SCRPTS =     scripts/legacy/vps
79 scripts_legacy_src_PRGS =       scripts/legacy/vserver-copy
80
81 scripts_sbin_src_PRGS =         scripts/chcontext \
82                                 scripts/vapt-get \
83                                 scripts/vpstree \
84                                 scripts/vrpm \
85                                 scripts/vserver \
86                                 scripts/vsomething \
87                                 scripts/vtop \
88                                 scripts/vyum
89
90 scripts_sbin_gen_PRGS =
91 scripts_sbincfg_gen_DTA =
92
93 scripts_subst_SRCS =            scripts/util-vserver-vars.pathsubst \
94                                 scripts/legacy/vps.pathsubst
95
96
97
98 sbin_SCRIPTS +=                 $(scripts_sbin_src_PRGS) $(scripts_sbin_gen_PRGS) \
99                                 $(scripts_legacy_src_PRGS)
100 scripts_sbincfg_DTA =           $(scripts_sbincfg_gen_DTA)
101 pkglib_SCRIPTS +=               $(scripts_pkglib_src_SCRPTS)
102 legacy_SCRIPTS +=               $(scripts_legacy_src_SCRPTS) $(scripts_legacy_gen_SCRPTS)
103 pkglib_DATA +=                  $(scripts_pkglib_src_DTA) $(scripts_pkglib_gen_DTA)
104
105 CLEANFILES +=                   $(scripts_pkglib_gen_DTA) \
106                                 $(scripts_sbin_gen_PRGS) \
107                                 $(scripts_sbincfg_gen_DTA) \
108                                 $(scripts_legacy_gen_SCRPTS)
109
110 EXTRA_DIST +=                   $(scripts_pkglib_src_DTA) \
111                                 $(scripts_pkglib_src_SCRPTS) \
112                                 $(scripts_legacy_src_SCRPTS) \
113                                 $(scripts_legacy_src_PRGS) \
114                                 $(scripts_sbin_src_PRGS) \
115                                 $(scripts_subst_SRCS)
116
117 scripts/util-vserver-vars:      scripts/.util-vserver-vars.pathsubst.stamp
118 scripts/legacy/vps:             scripts/legacy/.vps.pathsubst.stamp