~ubuntu-branches/debian/squeeze/util-vserver/squeeze

« back to all changes in this revision

Viewing changes to .pc/debian-changes-0.30.216-pre2864-2/distrib/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Micah Anderson
  • Date: 2010-04-13 12:36:17 UTC
  • Revision ID: james.westby@ubuntu.com-20100413123617-ve6wgautfmwfhnkc
Tags: 0.30.216-pre2864-2
* Switch to dpkg-source 3.0 (quilt) format
* Fix bashisms in helper scripts (Closes: #530995)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
## $Id: Makefile.am 2848 2009-09-14 15:51:11Z dhozac $
 
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
defaultsdir =           $(pkglibdir)/defaults
 
20
distribdir =            $(pkglibdir)/distributions
 
21
confdistribdir =        $(confdir)/.distributions
 
22
confdefaultsdir =       $(confdir)/.defaults
 
23
 
 
24
defaults_DATA =         misc/debootstrap.mirror \
 
25
                        misc/debootstrap.uri \
 
26
                        misc/fstab \
 
27
                        misc/mtab \
 
28
                        misc/vprocunhide-files \
 
29
                        misc/vunify-exclude \
 
30
                        misc/environment \
 
31
                        misc/context.start \
 
32
                        misc/h2ext.desc
 
33
 
 
34
nobase_distrib_SCRIPTS  =  redhat/initpost \
 
35
                           redhat/initpre \
 
36
                           redhat/rc.sysinit \
 
37
                           redhat/initctl \
 
38
                           gentoo/initpost \
 
39
                           gentoo/initpre \
 
40
                           debian/initpost \
 
41
                           alpine/initpre \
 
42
                           alpine/initpost
 
43
 
 
44
nobase_distrib_DATA     =  defaults/devs \
 
45
                           defaults/apt.conf \
 
46
                           defaults/rpm/macros \
 
47
                           defaults/apt/apt.conf \
 
48
                           template/initpost template/initpre \
 
49
                           rh9/apt/rpmpriorities    rh9/pkgs/01    rh9/pkgs/02 \
 
50
                           fc1/apt/rpmpriorities    fc1/pkgs/01    fc1/pkgs/02 \
 
51
                           fc2/apt/rpmpriorities    fc2/pkgs/01    fc2/pkgs/02 \
 
52
                           fc3/apt/rpmpriorities    fc3/pkgs/01    fc3/pkgs/02    fc3/pkgs/03 \
 
53
                           fc3/yum/yum.conf $(wildcard $(srcdir)/fc3/yum.repos.d/*.repo) \
 
54
                           $(wildcard $(srcdir)/fc3/rpmlist.d/*.lst) $(wildcard $(srcdir)/fc3/rpmlist.d/*.opt) \
 
55
                           fc4/apt/rpmpriorities    fc4/pkgs/01    fc4/pkgs/02    fc4/pkgs/03 \
 
56
                           fc4/yum/yum.conf $(wildcard $(srcdir)/fc4/yum.repos.d/*.repo) \
 
57
                           $(wildcard $(srcdir)/fc4/rpmlist.d/*.lst) $(wildcard $(srcdir)/fc4/rpmlist.d/*.opt) \
 
58
                           fc5/apt/rpmpriorities    fc5/pkgs/01    fc5/pkgs/02    fc5/pkgs/03 \
 
59
                           fc5/yum/yum.conf $(wildcard $(srcdir)/fc5/yum.repos.d/*.repo) \
 
60
                           $(wildcard $(srcdir)/fc5/rpmlist.d/*.lst) $(wildcard $(srcdir)/fc5/rpmlist.d/*.opt) \
 
61
                           fc6/apt/rpmpriorities    fc6/pkgs/01    fc6/pkgs/02    fc6/pkgs/03 \
 
62
                           fc6/yum/yum.conf $(wildcard $(srcdir)/fc6/yum.repos.d/*.repo) \
 
63
                           $(wildcard $(srcdir)/fc6/rpmlist.d/*.lst) $(wildcard $(srcdir)/fc6/rpmlist.d/*.opt) \
 
64
                           f7/apt/rpmpriorities    f7/pkgs/01    f7/pkgs/02    f7/pkgs/03 \
 
65
                           f7/yum/yum.conf $(wildcard $(srcdir)/f7/yum.repos.d/*.repo) \
 
66
                           $(wildcard $(srcdir)/f7/rpmlist.d/*.lst) $(wildcard $(srcdir)/f7/rpmlist.d/*.opt) \
 
67
                           f8/apt/rpmpriorities    f8/pkgs/01    f8/pkgs/02    f8/pkgs/03 \
 
68
                           f8/yum/yum.conf $(wildcard $(srcdir)/f8/yum.repos.d/*.repo) \
 
69
                           $(wildcard $(srcdir)/f8/rpmlist.d/*.lst) $(wildcard $(srcdir)/f8/rpmlist.d/*.opt) \
 
70
                           $(wildcard $(srcdir)/f8/pubkeys/RPM-GPG*) \
 
71
                           f9/pkgs/01 f9/pkgs/02 f9/pkgs/03 f9/yum/yum.conf \
 
72
                           $(wildcard $(srcdir)/f9/yum.repos.d/*.repo) \
 
73
                           $(wildcard $(srcdir)/f9/rpmlist.d/*.lst) $(wildcard $(srcdir)/f9/rpmlist.d/*.opt) \
 
74
                           $(wildcard $(srcdir)/f9/pubkeys/RPM-GPG*) \
 
75
                           f10/pkgs/01 f10/pkgs/02 f10/pkgs/03 f10/yum/yum.conf \
 
76
                           $(wildcard $(srcdir)/f10/yum.repos.d/*.repo) \
 
77
                           $(wildcard $(srcdir)/f10/rpmlist.d/*.lst) $(wildcard $(srcdir)/f10/rpmlist.d/*.opt) \
 
78
                           f11/pkgs/01 f11/pkgs/02 f11/pkgs/03 f11/yum/yum.conf \
 
79
                           $(wildcard $(srcdir)/f11/yum.repos.d/*.repo) \
 
80
                           $(wildcard $(srcdir)/f11/rpmlist.d/*.lst) $(wildcard $(srcdir)/f11/rpmlist.d/*.opt) \
 
81
                           centos4/pkgs/01 centos4/pkgs/02 centos4/pkgs/03 \
 
82
                           centos4/yum/yum.conf $(wildcard $(srcdir)/centos4/yum.repos.d/*.repo) \
 
83
                           centos5/pkgs/01 centos5/pkgs/02 centos5/pkgs/03 \
 
84
                           centos5/yum/yum.conf $(wildcard $(srcdir)/centos5/yum.repos.d/*.repo) \
 
85
                           suse91/apt/rpmpriorities suse91/pkgs/01 suse91/pkgs/02 \
 
86
                           suse91/rpm/macros \
 
87
                           gentoo/init-vserver.sh gentoo/net.vserver \
 
88
                           gentoo/reboot.sh gentoo/shutdown.sh
 
89
 
 
90
nobase_confdistrib_DATA =  rh9/apt/sources.list \
 
91
                           fc1/apt/sources.list \
 
92
                           fc2/apt/sources.list \
 
93
                           fc3/apt/sources.list \
 
94
                           fc4/apt/sources.list \
 
95
                           fc5/apt/sources.list \
 
96
                           fc6/apt/sources.list \
 
97
                           f7/apt/sources.list \
 
98
                           suse91/apt/sources.list
 
99
 
 
100
AM_INSTALLCHECK_STD_OPTIONS_EXEMPT \
 
101
                        =  $(nobase_distrib_SCRIPTS)
 
102
 
 
103
EXTRA_DIST              =  $(nobase_distrib_DATA) \
 
104
                           $(nobase_distrib_SCRIPTS) \
 
105
                           $(nobase_confdistrib_DATA) \
 
106
                           $(defaults_DATA)
 
107
 
 
108
redhat_style            =  rh9 fc1 fc2 fc3 fc4 fc5 fc6 f7 f8 f9 f10 f11 centos4 centos5
 
109
sid_style               =  etch lenny squeeze sid
 
110
 
 
111
install-exec-hook:      install-notify-xtra
 
112
install-data-hook:      install-data-xtras
 
113
 
 
114
install-data-xtras:
 
115
                        l="$(redhat_style)"; for i in $$l; do \
 
116
                                ln -sf ../redhat/initpost $(DESTDIR)$(distribdir)/$$i/ && \
 
117
                                ln -sf ../redhat/initpre  $(DESTDIR)$(distribdir)/$$i/; \
 
118
                        done
 
119
                        l="$(sid_style)"; for i in $$l; do \
 
120
                                ln -sf debian $(DESTDIR)$(distribdir)/$$i; \
 
121
                        done
 
122
                        $(mkinstalldirs) $(DESTDIR)$(confdir) \
 
123
                                $(DESTDIR)$(confdistribdir)/.common/pubkeys \
 
124
                                $(DESTDIR)$(confdefaultsdir) \
 
125
                                $(DESTDIR)$(confdefaultsdir)/apps/vunify/hash \
 
126
                                $(DESTDIR)$(confdefaultsdir)/files
 
127
 
 
128
 
 
129
include $(top_srcdir)/m4/install-notify.am