3 ## Copyright (C) 2003 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
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; version 2 of the License.
9 ## This program is distributed in the hope that it will be useful,
10 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
11 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 ## GNU General Public License for more details.
14 ## You should have received a copy of the GNU General Public License
15 ## along with this program; if not, write to the Free Software
16 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 confdir = $(sysconfdir)/vservers
19 defaultsdir = $(pkglibdir)/defaults
20 distribdir = $(pkglibdir)/distributions
21 confdistribdir = $(confdir)/.distributions
22 confdefaultsdir = $(confdir)/.defaults
24 defaults_DATA = misc/debootstrap.mirror \
25 misc/debootstrap.uri \
28 misc/vprocunhide-files \
34 nobase_distrib_SCRIPTS = redhat/initpost \
43 nobase_distrib_DATA = defaults/devs \
46 defaults/apt/apt.conf \
47 template/initpost template/initpre \
48 rh9/apt/rpmpriorities rh9/pkgs/01 rh9/pkgs/02 \
49 fc1/apt/rpmpriorities fc1/pkgs/01 fc1/pkgs/02 \
50 fc2/apt/rpmpriorities fc2/pkgs/01 fc2/pkgs/02 \
51 fc3/apt/rpmpriorities fc3/pkgs/01 fc3/pkgs/02 fc3/pkgs/03 \
52 fc3/yum/yum.conf $(wildcard fc3/yum.repos.d/*.repo) \
53 $(wildcard fc3/rpmlist.d/*.lst) $(wildcard fc3/rpmlist.d/*.opt) \
54 fc4/apt/rpmpriorities fc4/pkgs/01 fc4/pkgs/02 fc4/pkgs/03 \
55 fc4/yum/yum.conf $(wildcard fc4/yum.repos.d/*.repo) \
56 $(wildcard fc4/rpmlist.d/*.lst) $(wildcard fc4/rpmlist.d/*.opt) \
57 fc5/apt/rpmpriorities fc5/pkgs/01 fc5/pkgs/02 fc5/pkgs/03 \
58 fc5/yum/yum.conf $(wildcard fc5/yum.repos.d/*.repo) \
59 $(wildcard fc5/rpmlist.d/*.lst) $(wildcard fc5/rpmlist.d/*.opt) \
60 fc6/apt/rpmpriorities fc6/pkgs/01 fc6/pkgs/02 fc6/pkgs/03 \
61 fc6/yum/yum.conf $(wildcard fc6/yum.repos.d/*.repo) \
62 $(wildcard fc6/rpmlist.d/*.lst) $(wildcard fc6/rpmlist.d/*.opt) \
63 f7/apt/rpmpriorities f7/pkgs/01 f7/pkgs/02 f7/pkgs/03 \
64 f7/yum/yum.conf $(wildcard f7/yum.repos.d/*.repo) \
65 $(wildcard f7/rpmlist.d/*.lst) $(wildcard f7/rpmlist.d/*.opt) \
66 f8/apt/rpmpriorities f8/pkgs/01 f8/pkgs/02 f8/pkgs/03 \
67 f8/yum/yum.conf $(wildcard f8/yum.repos.d/*.repo) \
68 $(wildcard f8/rpmlist.d/*.lst) $(wildcard f8/rpmlist.d/*.opt) \
69 f9/pkgs/01 f9/pkgs/02 f9/pkgs/03 f9/yum/yum.conf \
70 $(wildcard f9/rpmlist.d/*.lst) $(wildcard f9/rpmlist.d/*.opt) \
71 centos4/pkgs/01 centos4/pkgs/02 centos4/pkgs/03 \
72 centos4/yum/yum.conf $(wildcard centos4/yum.repos.d/*.repo) \
73 centos5/pkgs/01 centos5/pkgs/02 centos5/pkgs/03 \
74 centos5/yum/yum.conf $(wildcard centos5/yum.repos.d/*.repo) \
75 suse91/apt/rpmpriorities suse91/pkgs/01 suse91/pkgs/02 \
77 gentoo/init-vserver.sh gentoo/net.vserver \
78 gentoo/reboot.sh gentoo/shutdown.sh \
79 debian/debootstrap.script \
80 breezy/debootstrap.script dapper/debootstrap.script \
81 edgy/debootstrap.script feisty/debootstrap.script \
82 gutsy/debootstrap.script hoary/debootstrap.script \
83 warty/debootstrap.script
85 nobase_confdistrib_DATA = rh9/apt/sources.list \
86 fc1/apt/sources.list \
87 fc2/apt/sources.list \
88 fc3/apt/sources.list \
89 fc4/apt/sources.list \
90 fc5/apt/sources.list \
91 fc6/apt/sources.list \
93 suse91/apt/sources.list
95 AM_INSTALLCHECK_STD_OPTIONS_EXEMPT \
96 = $(nobase_distrib_SCRIPTS)
98 EXTRA_DIST = $(nobase_distrib_DATA) \
99 $(nobase_distrib_SCRIPTS) \
100 $(nobase_confdistrib_DATA) \
103 redhat_style = rh9 fc1 fc2 fc3 fc4 fc5 fc6 f7 f8 centos4 centos5
104 sid_style = etch lenny sid
106 install-exec-hook: install-notify-xtra
107 install-data-hook: install-data-xtras
110 l="$(redhat_style)"; for i in $$l; do \
111 ln -sf ../redhat/initpost $(DESTDIR)$(distribdir)/$$i/ && \
112 ln -sf ../redhat/initpre $(DESTDIR)$(distribdir)/$$i/; \
114 l="$(sid_style)"; for i in $$l; do \
115 ln -sf debian $(DESTDIR)$(distribdir)/$$i; \
117 $(mkinstalldirs) $(DESTDIR)$(confdir) \
118 $(DESTDIR)$(confdistribdir)/.common/pubkeys \
119 $(DESTDIR)$(confdefaultsdir) \
120 $(DESTDIR)$(confdefaultsdir)/apps/vunify/hash \
121 $(DESTDIR)$(confdefaultsdir)/files
124 include $(top_srcdir)/m4/install-notify.am