Revision 24167,
1.7 KB
checked in by broder, 15 years ago
(diff) |
Import schroot upstream into subversion.
|
Line | |
---|
1 | # schroot Makefile template |
---|
2 | # |
---|
3 | # |
---|
4 | # Copyright © 2004-2008 Roger Leigh <rleigh@debian.org> |
---|
5 | # |
---|
6 | # schroot is free software: you can redistribute it and/or modify it |
---|
7 | # under the terms of the GNU General Public License as published by |
---|
8 | # the Free Software Foundation, either version 3 of the License, or |
---|
9 | # (at your option) any later version. |
---|
10 | # |
---|
11 | # schroot is distributed in the hope that it will be useful, but |
---|
12 | # WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
---|
14 | # General Public License for more details. |
---|
15 | # |
---|
16 | # You should have received a copy of the GNU General Public License |
---|
17 | # along with this program. If not, see |
---|
18 | # <http://www.gnu.org/licenses/>. |
---|
19 | # |
---|
20 | ##################################################################### |
---|
21 | |
---|
22 | include $(top_srcdir)/scripts/global.mk |
---|
23 | |
---|
24 | all-local: sbuild schroot |
---|
25 | |
---|
26 | if BUILD_DOXYGEN |
---|
27 | schroot: schroot.log |
---|
28 | sbuild: sbuild.log |
---|
29 | else |
---|
30 | schroot: |
---|
31 | sbuild: |
---|
32 | endif |
---|
33 | |
---|
34 | sbuild.log: sbuild.dox $(top_srcdir)/configure |
---|
35 | $(RM) -rf sbuild/html |
---|
36 | $(DOXYGEN) sbuild.dox |
---|
37 | touch $@ |
---|
38 | |
---|
39 | schroot.log: sbuild.log schroot.dox $(top_srcdir)/configure |
---|
40 | $(RM) -rf schroot/html |
---|
41 | $(DOXYGEN) schroot.dox |
---|
42 | touch $@ |
---|
43 | |
---|
44 | PS_DEPS = \ |
---|
45 | $(top_builddir)/bin/schroot/schroot.1 \ |
---|
46 | $(top_builddir)/bin/schroot/schroot.conf.5 \ |
---|
47 | $(top_builddir)/bin/schroot/schroot-setup.5 \ |
---|
48 | $(top_builddir)/bin/schroot/schroot-script-config.5 \ |
---|
49 | $(top_builddir)/bin/dchroot/dchroot.1 \ |
---|
50 | $(top_builddir)/bin/dchroot-dsa/dchroot-dsa.1 |
---|
51 | |
---|
52 | schroot.ps: $(PS_DEPS) |
---|
53 | tbl $(PS_DEPS) | groff -T ps -man > $@ |
---|
54 | |
---|
55 | schroot.pdf: schroot.ps |
---|
56 | ps2pdf $< $@ |
---|
57 | |
---|
58 | CLEANFILES = \ |
---|
59 | schroot.log \ |
---|
60 | schroot.ps \ |
---|
61 | schroot.pdf \ |
---|
62 | sbuild.log \ |
---|
63 | schroot.log \ |
---|
64 | sbuild.log \ |
---|
65 | schroot.log |
---|
66 | |
---|
67 | clean-local: |
---|
68 | $(RM) -r sbuild |
---|
69 | $(RM) -r schroot |
---|
70 | |
---|
71 | .PHONY: sbuild schroot |
---|
Note: See
TracBrowser
for help on using the repository browser.