Add --nocompress option, version 2.3
[febootstrap.git] / Makefile.am
1 # febootstrap Makefile.am
2 # (C) Copyright 2009 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 SUBDIRS = examples
21
22 bin_SCRIPTS = \
23         febootstrap \
24         febootstrap-run \
25         febootstrap-install \
26         febootstrap-minimize \
27         febootstrap-to-initramfs
28 DISTCLEANFILES = $(bin_SCRIPTS)
29
30 febootstrap: febootstrap.sh
31         rm -f $@
32         cp $< $@-t
33         chmod 0555 $@-t
34         mv $@-t $@
35
36 febootstrap-run: febootstrap-run.sh
37         rm -f $@
38         cp $< $@-t
39         chmod 0555 $@-t
40         mv $@-t $@
41
42 febootstrap-install: febootstrap-install.sh
43         rm -f $@
44         cp $< $@-t
45         chmod 0555 $@-t
46         mv $@-t $@
47
48 febootstrap-minimize: febootstrap-minimize.sh
49         rm -f $@
50         cp $< $@-t
51         chmod 0555 $@-t
52         mv $@-t $@
53
54 febootstrap-to-initramfs: febootstrap-to-initramfs.sh
55         rm -f $@
56         cp $< $@-t
57         chmod 0555 $@-t
58         mv $@-t $@
59
60 man_MANS = \
61         febootstrap.8 \
62         febootstrap-run.8 \
63         febootstrap-install.8 \
64         febootstrap-minimize.8 \
65         febootstrap-to-initramfs.8
66
67 if HAVE_PERLDOC
68
69 febootstrap.8: febootstrap.pod
70         pod2man \
71           --section 8 \
72           -c "Virtualization Support" \
73           --release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \
74           $< > $@
75
76 febootstrap.txt: febootstrap.pod
77         pod2text $< > $@
78
79 febootstrap-run.8: febootstrap-run.pod
80         pod2man \
81           --section 8 \
82           -c "Virtualization Support" \
83           --release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \
84           $< > $@
85
86 febootstrap-run.txt: febootstrap-run.pod
87         pod2text $< > $@
88
89 febootstrap-install.8: febootstrap-install.pod
90         pod2man \
91           --section 8 \
92           -c "Virtualization Support" \
93           --release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \
94           $< > $@
95
96 febootstrap-install.txt: febootstrap-install.pod
97         pod2text $< > $@
98
99 febootstrap-minimize.8: febootstrap-minimize.pod
100         pod2man \
101           --section 8 \
102           -c "Virtualization Support" \
103           --release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \
104           $< > $@
105
106 febootstrap-minimize.txt: febootstrap-minimize.pod
107         pod2text $< > $@
108
109 febootstrap-to-initramfs.8: febootstrap-to-initramfs.pod
110         pod2man \
111           --section 8 \
112           -c "Virtualization Support" \
113           --release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \
114           $< > $@
115
116 febootstrap-to-initramfs.txt: febootstrap-to-initramfs.pod
117         pod2text $< > $@
118
119 endif
120
121 EXTRA_DIST = \
122         fakechroot-2.8-relchroot.patch \
123         fakechroot-svn-no-dup-envs.patch \
124         febootstrap.8 febootstrap.txt febootstrap.pod \
125           febootstrap.sh \
126         febootstrap-run.8 febootstrap-run.txt febootstrap-run.pod \
127           febootstrap-run.sh \
128         febootstrap-install.8 febootstrap-install.txt febootstrap-install.pod \
129           febootstrap-install.sh \
130         febootstrap-minimize.8 febootstrap-minimize.txt \
131           febootstrap-minimize.pod \
132           febootstrap-minimize.sh \
133         febootstrap-to-initramfs.8 febootstrap-to-initramfs.txt \
134           febootstrap-to-initramfs.pod \
135           febootstrap-to-initramfs.sh