|
1 # Copyright (C) 2003-2007 John Goerzen |
|
2 # <jgoerzen@complete.org> |
|
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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
17 |
|
18 MASTERBASE := vcs_load_dirs |
|
19 TOPNODE := vcs_load_dirs |
|
20 BASICDEPS := $(MASTERBASE).sgml |
|
21 #DOINDEX := yes |
|
22 DOINDEX := no |
|
23 HTMLARGS := -s local |
|
24 PSARGS := -s local=printlocal |
|
25 |
|
26 all: ps |
|
27 ps: $(MASTERBASE).ps |
|
28 html: html/index.html |
|
29 text: $(MASTERBASE).txt |
|
30 |
|
31 manpages: tla_load_dirs.1 darcs_load_dirs.1 baz_load_dirs.1 svk_load_dirs.1 git_load_dirs.1 hg_load_dirs.1 |
|
32 %.1: %.sgml |
|
33 docbook2man $< |
|
34 |
|
35 darcs_load_dirs.1: vcs_load_dirs.1 |
|
36 sed -e s/vcs_load_dirs/darcs_load_dirs/g \ |
|
37 -e s/VCS_LOAD_DIRS/DARCS_LOAD_DIRS/g < $< > $@ |
|
38 |
|
39 hg_load_dirs.1: vcs_load_dirs.1 |
|
40 sed -e s/vcs_load_dirs/hg_load_dirs/g \ |
|
41 -e s/VCS_LOAD_DIRS/HG_LOAD_DIRS/g < $< > $@ |
|
42 |
|
43 tla_load_dirs.1: vcs_load_dirs.1 |
|
44 sed -e s/vcs_load_dirs/tla_load_dirs/g \ |
|
45 -e s/VCS_LOAD_DIRS/TLA_LOAD_DIRS/g < $< > $@ |
|
46 |
|
47 baz_load_dirs.1: vcs_load_dirs.1 |
|
48 sed -e s/vcs_load_dirs/baz_load_dirs/g \ |
|
49 -e s/VCS_LOAD_DIRS/BAZ_LOAD_DIRS/g < $< > $@ |
|
50 |
|
51 svk_load_dirs.1: vcs_load_dirs.1 |
|
52 sed -e s/vcs_load_dirs/svk_load_dirs/g \ |
|
53 -e s/VCS_LOAD_DIRS/SVK_LOAD_DIRS/g < $< > $@ |
|
54 |
|
55 git_load_dirs.1: vcs_load_dirs.1 |
|
56 sed -e s/vcs_load_dirs/git_load_dirs/g \ |
|
57 -e s/VCS_LOAD_DIRS/GIT_LOAD_DIRS/g < $< > $@ |
|
58 |
|
59 include sgml-common/Makefile.common |
|
60 |
|
61 realclean: clean |
|
62 -rm -rf *.links *.refs *.1 |