2004-06-01 19:50:12 +00:00
|
|
|
include $(top_srcdir)/config/common.am
|
|
|
|
|
2006-04-27 16:44:43 +00:00
|
|
|
DISTCLEANFILES += $(tocfiles)
|
2004-06-01 19:50:12 +00:00
|
|
|
|
2006-08-12 20:48:38 +00:00
|
|
|
EXTRA_DIST = depend.py doc_toc.py README.Documentation $(DEPENDFILE) $(docfiles)
|
2004-06-01 19:50:12 +00:00
|
|
|
|
2005-10-05 09:01:17 +00:00
|
|
|
docfiles = \
|
2004-06-02 13:40:06 +00:00
|
|
|
cs_Tutorial.lyx \
|
2004-08-13 14:58:08 +00:00
|
|
|
Customization.lyx \
|
2004-06-02 13:40:06 +00:00
|
|
|
da_Intro.lyx \
|
2004-06-01 19:50:12 +00:00
|
|
|
de_Customization.lyx \
|
|
|
|
de_Extended.lyx \
|
2004-06-02 13:40:06 +00:00
|
|
|
de_FAQ.lyx \
|
2004-06-01 19:50:12 +00:00
|
|
|
de_Intro.lyx \
|
|
|
|
de_Tutorial.lyx \
|
|
|
|
de_UserGuide.lyx \
|
2004-06-02 13:40:06 +00:00
|
|
|
DocStyle.lyx \
|
|
|
|
es_Intro.lyx \
|
|
|
|
es_Tutorial.lyx \
|
2004-06-01 19:50:12 +00:00
|
|
|
eu_Customization.lyx \
|
|
|
|
eu_Extended.lyx \
|
|
|
|
eu_FAQ.lyx \
|
|
|
|
eu_Intro.lyx \
|
|
|
|
eu_Tutorial.lyx \
|
|
|
|
eu_UserGuide.lyx \
|
|
|
|
Extended.lyx \
|
2004-06-02 13:40:06 +00:00
|
|
|
FAQ.lyx \
|
|
|
|
fr_Customization.lyx \
|
2004-06-01 19:50:12 +00:00
|
|
|
fr_Extended.lyx \
|
2004-06-02 13:40:06 +00:00
|
|
|
fr_FAQ.lyx \
|
|
|
|
fr_Intro.lyx \
|
|
|
|
fr_Tutorial.lyx \
|
|
|
|
fr_UserGuide.lyx \
|
2006-10-24 08:10:34 +00:00
|
|
|
gl_Intro.lyx \
|
2004-06-02 13:40:06 +00:00
|
|
|
he_Intro.lyx \
|
|
|
|
he_Tutorial.lyx \
|
|
|
|
hu_Intro.lyx \
|
2006-09-18 12:18:47 +00:00
|
|
|
hu_Tutorial.lyx \
|
2004-06-02 13:40:06 +00:00
|
|
|
Intro.lyx \
|
|
|
|
it_Customization.lyx \
|
|
|
|
it_Intro.lyx \
|
|
|
|
it_Tutorial.lyx \
|
|
|
|
it_UserGuide.lyx \
|
2004-09-10 10:11:23 +00:00
|
|
|
LaTeXConfig.lyx.in \
|
2004-06-02 13:40:06 +00:00
|
|
|
nl_Intro.lyx \
|
|
|
|
nl_Tutorial.lyx \
|
2005-12-09 15:54:18 +00:00
|
|
|
nb_Intro.lyx \
|
2004-06-02 13:40:06 +00:00
|
|
|
pl_Extended.lyx \
|
|
|
|
pl_Intro.lyx \
|
|
|
|
pl_Tutorial.lyx \
|
|
|
|
pt_Intro.lyx \
|
|
|
|
pt_Tutorial.lyx \
|
|
|
|
Reference.lyx \
|
2004-06-01 19:50:12 +00:00
|
|
|
ro_Intro.lyx \
|
2004-06-02 13:40:06 +00:00
|
|
|
ru_FAQ.lyx \
|
|
|
|
ru_Intro.lyx \
|
|
|
|
ru_Tutorial.lyx \
|
|
|
|
sk_Tutorial.lyx \
|
|
|
|
sk_UserGuide.lyx \
|
|
|
|
sl_Intro.lyx \
|
|
|
|
sl_Tutorial.lyx \
|
|
|
|
sv_Intro.lyx \
|
|
|
|
sv_Tutorial.lyx \
|
|
|
|
Tutorial.lyx \
|
|
|
|
UserGuide.lyx \
|
|
|
|
escher-lsd.eps \
|
|
|
|
mobius.eps \
|
|
|
|
platypus.eps
|
2004-06-01 23:00:12 +00:00
|
|
|
|
|
|
|
docdir = $(pkgdatadir)/doc
|
2006-04-27 16:44:43 +00:00
|
|
|
doc_DATA = $(docfiles)
|
2004-06-02 13:40:06 +00:00
|
|
|
|
2005-10-05 09:01:17 +00:00
|
|
|
DEPENDFILE = $(srcdir)/Makefile.depend
|
|
|
|
# include $(DEPENDFILE) does not work because automake is too limited.
|
|
|
|
include $(srcdir)/Makefile.depend
|
2005-09-28 13:47:03 +00:00
|
|
|
|
2005-10-05 09:01:17 +00:00
|
|
|
TOCs : $(DEPENDFILE) $(tocfiles)
|
2005-09-28 13:47:03 +00:00
|
|
|
@echo Made TOCs succesfully.
|
2004-06-02 13:40:06 +00:00
|
|
|
|
2005-09-28 13:47:03 +00:00
|
|
|
# Force regeneration of $(DEPENDFILE) when Makefile.am changes because
|
|
|
|
# new doc files might have been added
|
2005-10-05 09:01:17 +00:00
|
|
|
$(DEPENDFILE): $(srcdir)/Makefile.am $(srcdir)/depend.py
|
2005-09-28 13:47:03 +00:00
|
|
|
python $(srcdir)/depend.py > $(DEPENDFILE)
|
2004-06-02 13:40:06 +00:00
|
|
|
|
2005-10-05 09:01:17 +00:00
|
|
|
# The TOCs are not built for the install and dist targets if they don't exist
|
|
|
|
# for some weird reason.
|
|
|
|
# Make complains although we have rules for them in $(DEPENDFILE), so we
|
|
|
|
# must not include the TOCs in $(docfiles) and have to use the install and
|
|
|
|
# dist hooks below.
|
|
|
|
dist-hook: $(tocfiles)
|
|
|
|
for i in $(tocfiles); \
|
|
|
|
do \
|
2005-10-10 13:22:34 +00:00
|
|
|
if test -f "$(srcdir)/$$i"; then file="$(srcdir)/$$i"; \
|
|
|
|
else file="$$i"; fi; \
|
|
|
|
cp -p "$$file" "$(distdir)"; \
|
2005-10-05 09:01:17 +00:00
|
|
|
done
|
|
|
|
install-data-hook: $(tocfiles)
|
|
|
|
for i in $(tocfiles); \
|
|
|
|
do \
|
2005-10-10 13:22:34 +00:00
|
|
|
if test -f "$(srcdir)/$$i"; then file="$(srcdir)/$$i"; \
|
|
|
|
else file="$$i"; fi; \
|
|
|
|
$(docDATA_INSTALL) "$$file" "$(DESTDIR)$(docdir)/$$i"; \
|
|
|
|
done
|
|
|
|
|
|
|
|
uninstall-local:
|
|
|
|
for i in $(tocfiles); \
|
|
|
|
do \
|
|
|
|
$(RM) "$(DESTDIR)$(docdir)/$$i" ; \
|
2005-10-05 09:01:17 +00:00
|
|
|
done
|
2004-06-02 13:40:06 +00:00
|
|
|
|
2005-09-28 13:47:03 +00:00
|
|
|
.PHONY: TOCs
|