Remove bogus 'whitelist' parameter from usage.
[febootstrap.git] / Makefile.am
1 # febootstrap Makefile.am
2 # (C) Copyright 2009-2010 Red Hat Inc.
3 #
4 # This program is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 2 of the License, or
7 # (at your option) any later version.
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., 675 Mass Ave, Cambridge, MA 02139, USA.
17 #
18 # Written by Richard W.M. Jones <rjones@redhat.com>
19
20 ACLOCAL_AMFLAGS = -I m4
21
22 SUBDIRS = lib helper examples
23
24 bin_SCRIPTS = \
25         febootstrap \
26         febootstrap-run \
27         febootstrap-install \
28         febootstrap-minimize \
29         febootstrap-to-initramfs \
30         febootstrap-to-supermin
31 DISTCLEANFILES = $(bin_SCRIPTS)
32
33 febootstrap: febootstrap.sh
34         rm -f $@
35         cp $< $@-t
36         chmod 0555 $@-t
37         mv $@-t $@
38
39 febootstrap-run: febootstrap-run.sh
40         rm -f $@
41         cp $< $@-t
42         chmod 0555 $@-t
43         mv $@-t $@
44
45 febootstrap-install: febootstrap-install.sh
46         rm -f $@
47         cp $< $@-t
48         chmod 0555 $@-t
49         mv $@-t $@
50
51 febootstrap-minimize: febootstrap-minimize.sh
52         rm -f $@
53         cp $< $@-t
54         chmod 0555 $@-t
55         mv $@-t $@
56
57 febootstrap-to-initramfs: febootstrap-to-initramfs.sh
58         rm -f $@
59         cp $< $@-t
60         chmod 0555 $@-t
61         mv $@-t $@
62
63 febootstrap-to-supermin: febootstrap-to-supermin.sh
64         rm -f $@
65         cp $< $@-t
66         chmod 0555 $@-t
67         mv $@-t $@
68
69 man_MANS = \
70         febootstrap.8 \
71         febootstrap-run.8 \
72         febootstrap-install.8 \
73         febootstrap-minimize.8 \
74         febootstrap-to-initramfs.8 \
75         febootstrap-to-supermin.8
76
77 if HAVE_PERLDOC
78
79 febootstrap.8: febootstrap.pod
80         pod2man \
81           --section 8 \
82           -c "Virtualization Support" \
83           --release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \
84           $< > $@
85
86 febootstrap.txt: febootstrap.pod
87         pod2text $< > $@
88
89 febootstrap-run.8: febootstrap-run.pod
90         pod2man \
91           --section 8 \
92           -c "Virtualization Support" \
93           --release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \
94           $< > $@
95
96 febootstrap-run.txt: febootstrap-run.pod
97         pod2text $< > $@
98
99 febootstrap-install.8: febootstrap-install.pod
100         pod2man \
101           --section 8 \
102           -c "Virtualization Support" \
103           --release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \
104           $< > $@
105
106 febootstrap-install.txt: febootstrap-install.pod
107         pod2text $< > $@
108
109 febootstrap-minimize.8: febootstrap-minimize.pod
110         pod2man \
111           --section 8 \
112           -c "Virtualization Support" \
113           --release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \
114           $< > $@
115
116 febootstrap-minimize.txt: febootstrap-minimize.pod
117         pod2text $< > $@
118
119 febootstrap-to-initramfs.8: febootstrap-to-initramfs.pod
120         pod2man \
121           --section 8 \
122           -c "Virtualization Support" \
123           --release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \
124           $< > $@
125
126 febootstrap-to-initramfs.txt: febootstrap-to-initramfs.pod
127         pod2text $< > $@
128
129 febootstrap-to-supermin.8: febootstrap-to-supermin.pod
130         pod2man \
131           --section 8 \
132           -c "Virtualization Support" \
133           --release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \
134           $< > $@
135
136 febootstrap-to-supermin.txt: febootstrap-to-supermin.pod
137         pod2text $< > $@
138
139 endif
140
141 EXTRA_DIST = \
142         fakechroot-2.8-relchroot.patch \
143         fakechroot-svn-no-dup-envs.patch \
144         febootstrap.8 febootstrap.txt febootstrap.pod \
145           febootstrap.sh \
146         febootstrap-run.8 febootstrap-run.txt febootstrap-run.pod \
147           febootstrap-run.sh \
148         febootstrap-install.8 febootstrap-install.txt febootstrap-install.pod \
149           febootstrap-install.sh \
150         febootstrap-minimize.8 febootstrap-minimize.txt \
151           febootstrap-minimize.pod \
152           febootstrap-minimize.sh \
153         febootstrap-to-initramfs.8 febootstrap-to-initramfs.txt \
154           febootstrap-to-initramfs.pod \
155           febootstrap-to-initramfs.sh \
156         febootstrap-to-supermin.8 febootstrap-to-supermin.txt \
157           febootstrap-to-supermin.pod \
158           febootstrap-to-supermin.sh \
159         m4/gnulib-cache.m4