Added a logfile from F-10 install
[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-minimize \
26         febootstrap-to-initramfs
27 DISTCLEANFILES = $(bin_SCRIPTS)
28
29 febootstrap: febootstrap.sh
30         rm -f $@
31         cp $< $@-t
32         chmod 0555 $@-t
33         mv $@-t $@
34
35 febootstrap-run: febootstrap-run.sh
36         rm -f $@
37         cp $< $@-t
38         chmod 0555 $@-t
39         mv $@-t $@
40
41 febootstrap-minimize: febootstrap-minimize.sh
42         rm -f $@
43         cp $< $@-t
44         chmod 0555 $@-t
45         mv $@-t $@
46
47 febootstrap-to-initramfs: febootstrap-to-initramfs.sh
48         rm -f $@
49         cp $< $@-t
50         chmod 0555 $@-t
51         mv $@-t $@
52
53 man_MANS = \
54         febootstrap.8 \
55         febootstrap-run.8 \
56         febootstrap-minimize.8 \
57         febootstrap-to-initramfs.8
58
59 if HAVE_PERLDOC
60
61 febootstrap.8: febootstrap.pod
62         pod2man \
63           --section 8 \
64           -c "Virtualization Support" \
65           --release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \
66           $< > $@
67
68 febootstrap.txt: febootstrap.pod
69         pod2text $< > $@
70
71 febootstrap-run.8: febootstrap-run.pod
72         pod2man \
73           --section 8 \
74           -c "Virtualization Support" \
75           --release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \
76           $< > $@
77
78 febootstrap-run.txt: febootstrap-run.pod
79         pod2text $< > $@
80
81 febootstrap-minimize.8: febootstrap-minimize.pod
82         pod2man \
83           --section 8 \
84           -c "Virtualization Support" \
85           --release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \
86           $< > $@
87
88 febootstrap-minimize.txt: febootstrap-minimize.pod
89         pod2text $< > $@
90
91 febootstrap-to-initramfs.8: febootstrap-to-initramfs.pod
92         pod2man \
93           --section 8 \
94           -c "Virtualization Support" \
95           --release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \
96           $< > $@
97
98 febootstrap-to-initramfs.txt: febootstrap-to-initramfs.pod
99         pod2text $< > $@
100
101 endif
102
103 EXTRA_DIST = \
104         febootstrap.spec febootstrap.spec.in \
105         fakechroot-2.8-relchroot.patch \
106         fakechroot-svn-no-dup-envs.patch \
107         febootstrap.8 febootstrap.txt febootstrap.pod \
108           febootstrap.sh \
109         febootstrap-run.8 febootstrap-run.txt febootstrap-run.pod \
110           febootstrap-run.sh \
111         febootstrap-minimize.8 febootstrap-minimize.txt \
112           febootstrap-minimize.pod \
113           febootstrap-minimize.sh \
114         febootstrap-to-initramfs.8 febootstrap-to-initramfs.txt \
115           febootstrap-to-initramfs.pod \
116           febootstrap-to-initramfs.sh