Add urpmi support
[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/h2ext-worker \
32                                 scripts/legacy/distrib-info \
33                                 scripts/legacy/vps \
34                                 scripts/legacy/save_s_context \
35                                 scripts/legacy/vserver \
36                                 scripts/legacy/rootshell \
37                                 scripts/legacy/vserver-copy \
38                                 scripts/legacy/vserverkillall
39
40
41 scripts_pkglib_src_DTA =        scripts/functions \
42                                 scripts/vserver-build.apt-rpm \
43                                 scripts/vserver-build.skeleton \
44                                 scripts/vserver-build.debootstrap \
45                                 scripts/vserver-build.fai \
46                                 scripts/vserver-build.rpm \
47                                 scripts/vserver-build.urpmi \
48                                 scripts/vserver-build.yum \
49                                 scripts/vserver-build.template \
50                                 scripts/vserver-build.rsync \
51                                 scripts/vserver-build.clone \
52                                 scripts/vserver-build.functions \
53                                 scripts/vserver-build.functions.apt \
54                                 scripts/vserver-build.functions.rpm \
55                                 scripts/vserver-build.functions.pkgmgmt \
56                                 scripts/vserver-build.functions.yum \
57                                 scripts/vserver-setup.functions \
58                                 scripts/vserver.functions \
59                                 scripts/vserver.start \
60                                 scripts/vserver.stop \
61                                 scripts/vserver.suexec \
62                                 scripts/vserver.delete \
63                                 scripts/vserver-init.functions
64
65 scripts_pkglib_gen_DTA =        scripts/util-vserver-vars
66
67 scripts_pkglib_src_SCRPTS =     scripts/pkgmgmt \
68                                 scripts/vapt-get-worker \
69                                 scripts/vpkg \
70                                 scripts/vrpm-worker \
71                                 scripts/vrpm-preload \
72                                 scripts/start-vservers \
73                                 scripts/vprocunhide \
74                                 scripts/vserver-build \
75                                 scripts/vserver-wrapper \
76                                 scripts/vservers.grabinfo.sh \
77                                 scripts/vshelper \
78                                 scripts/vsysvwrapper \
79                                 scripts/vurpm-worker \
80                                 scripts/vyum-worker \
81                                 scripts/h2ext-worker
82
83 scripts_legacy_src_SCRPTS =     scripts/legacy/save_s_context \
84                                 scripts/legacy/vserver \
85                                 scripts/legacy/rootshell \
86                                 scripts/legacy/distrib-info \
87                                 scripts/legacy/vserverkillall
88 scripts_legacy_gen_SCRPTS =     scripts/legacy/vps
89 scripts_legacy_src_PRGS =       scripts/legacy/vserver-copy
90
91 scripts_sbin_src_PRGS =         scripts/chbind \
92                                 scripts/chcontext \
93                                 scripts/vapt-get \
94                                 scripts/vdispatch-conf \
95                                 scripts/vemerge \
96                                 scripts/vesync \
97                                 scripts/vmount \
98                                 scripts/vnamespace \
99                                 scripts/vpstree \
100                                 scripts/vrpm \
101                                 scripts/vserver \
102                                 scripts/vsomething \
103                                 scripts/vtop \
104                                 scripts/vupdateworld \
105                                 scripts/vurpm \
106                                 scripts/vyum
107
108 scripts_sbin_gen_PRGS =
109 scripts_sbincfg_gen_DTA =
110
111 scripts_subst_SRCS =            scripts/util-vserver-vars.pathsubst \
112                                 scripts/legacy/vps.pathsubst
113
114
115
116 sbin_SCRIPTS +=                 $(scripts_sbin_src_PRGS) $(scripts_sbin_gen_PRGS) \
117                                 $(scripts_legacy_src_PRGS)
118 scripts_sbincfg_DTA =           $(scripts_sbincfg_gen_DTA)
119 pkglib_SCRIPTS +=               $(scripts_pkglib_src_SCRPTS)
120 legacy_SCRIPTS +=               $(scripts_legacy_src_SCRPTS) $(scripts_legacy_gen_SCRPTS)
121 pkglib_DATA +=                  $(scripts_pkglib_src_DTA) $(scripts_pkglib_gen_DTA)
122
123 CLEANFILES +=                   $(scripts_pkglib_gen_DTA) \
124                                 $(scripts_sbin_gen_PRGS) \
125                                 $(scripts_sbincfg_gen_DTA) \
126                                 $(scripts_legacy_gen_SCRPTS)
127
128 EXTRA_DIST +=                   $(scripts_pkglib_src_DTA) \
129                                 $(scripts_pkglib_src_SCRPTS) \
130                                 $(scripts_legacy_src_SCRPTS) \
131                                 $(scripts_legacy_src_PRGS) \
132                                 $(scripts_sbin_src_PRGS) \
133                                 $(scripts_subst_SRCS)
134
135 scripts/util-vserver-vars:      scripts/.util-vserver-vars.pathsubst.stamp
136 scripts/legacy/vps:             scripts/legacy/.vps.pathsubst.stamp