1ae70a97088c59215313aca08ce64cf726b9c957
[util-vserver.git] / util-vserver / distrib / Makefile.am
1 ## $Id$
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; version 2 of the License.
8 ##  
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.
13 ##  
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.
17
18 confdir                 =  $(sysconfdir)/vservers
19 distribdir              =  $(pkglibdir)/distributions
20 confdistribdir          =  $(confdir)/.distributions
21
22
23 nobase_distrib_SCRIPTS  =  redhat/initpost
24
25 nobase_distrib_DATA     =  defaults/devs \
26                            defaults/rpm/macros \
27                            rh9/apt/rpmpriorities \
28                            fdr0.95/apt/rpmpriorities \
29                            rh9/pkgs/01 rh9/pkgs/02 \
30                            fdr0.95/pkgs/01 fdr0.95/pkgs/02
31
32 nobase_confdistrib_DATA =  rh9/apt/sources.list \
33                            fdr0.95/apt/sources.list
34
35 AM_INSTALLCHECK_STD_OPTIONS_EXEMPT \
36                         =  $(nobase_distrib_SCRIPTS)
37
38 EXTRA_DIST              =  $(nobase_distrib_DATA) \
39                            $(nobase_distrib_SCRIPTS) \
40                            $(nobase_confdistrib_DATA)
41
42 redhat_style            =  rh9 fdr0.95
43
44
45 install-data-hook:
46                         l="$(redhat_style)"; for i in $$l; do \
47                                 ln -s ../redhat/initpost $(DESTDIR)$(distribdir)/$$i/; \
48                         done