OSDN Git Service

Added all.
[clfsja/cross-lfs-ja.git] / src / stylesheets / lfs-xsl / xhtml / Makefile.am
1 ##
2 ## This is part of CLFSja package.
3 ##
4 BOOKdir = @abs_bookdir@/stylesheets/lfs-xsl/xhtml
5 CHANGE_FILES = \
6         lfs-admon.ch        \
7         lfs-legalnotice.ch  \
8         lfs-mixed.ch        \
9         lfs-navigational.ch \
10         lfs-sections.ch     \
11         lfs-titles.ch       \
12         lfs-toc.ch          \
13         lfs-xref.ch
14
15 EXTRA_DIST = $(CHANGE_FILES)
16 srcdir = @srcdir@
17 srcs = $(CHANGE_FILES:.ch=.xsl) lfs-index.xsl
18
19 SUFFIXES = .ch .xsl
20 .ch.xsl:
21         $(top_builddir)/$(CTIE) -m $@ $(BOOKdir)/$@ $(srcdir)/$*.ch >/dev/null
22
23 all: ctie $(srcs)
24
25 ctie:
26         @$(MAKE) -C $(top_builddir)/$@ $@ >/dev/null
27
28 lfs-index.xsl:        $(BOOKdir)/$@
29         cp -p $(BOOKdir)/$@ $@