Debian Codegraph @

docs/manual/zh_CN/Makefile.am

raw
1 ## Makefile.am -- Process this file with automake to produce Makefile.in
2 ## Copyright (C) 2002 James Su
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, or (at your option)
7 ## 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 MAINTAINERCLEANFILES = Makefile.in *.html
19
20 CLEANFILES = *.bak
21
22 SUBDIRS = figures
23
24 if BUILD_MANUAL
25
26 HTML_FILES = user-manual.html
27 XML_FILES = user-manual.xml
28
29 .xml.html:
30 $(XSLTPROC) -o $@ $(DOCBOOK_XSL) $<
31
32 html_zh_CN: $(HTML_FILES)
33
34 dist-hook: html_zh_CN
35 cp -Rp $(srcdir)/$(HTML_FILES) $(distdir)
36
37 else
38
39 HTML_FILES =
40 XML_FILES =
41
42 html_zh_CN:
43 echo "***"
44 echo "*** Warning: Manual not built"
45 echo "***"
46
47 dist-hook:
48 echo "***"
49 echo "*** Warning: Manual not built"
50 echo "*** DISTRIBUTION IS INCOMPLETE"
51 echo "***"
52 endif
53
54 EXTRA_DIST = $(XML_FILES)
55
56 .PHONY: html_zh_CN