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
|
|
|
|
2008-08-13 10:54:22 +00:00
|
|
|
EXTRA_DIST = depend.py doc_toc.py README.Documentation $(DEPENDFILE)
|
2004-06-01 19:50:12 +00:00
|
|
|
|
2008-08-15 21:29:33 +00:00
|
|
|
docdir = $(pkgdatadir)/doc
|
|
|
|
dist_doc_DATA = \
|
|
|
|
Customization.lyx \
|
|
|
|
DocStyle.lyx \
|
|
|
|
DummyTextDocument.txt \
|
|
|
|
DummyDocument1.lyx \
|
|
|
|
DummyDocument2.lyx \
|
|
|
|
EmbeddedObjects.lyx \
|
|
|
|
Extended.lyx \
|
|
|
|
FAQ.lyx \
|
|
|
|
Formula-numbering.lyx \
|
|
|
|
Intro.lyx \
|
|
|
|
LaTeXConfig.lyx \
|
|
|
|
LFUNs.lyx \
|
|
|
|
Math.lyx \
|
|
|
|
Reference.lyx \
|
|
|
|
Shortcuts.lyx \
|
|
|
|
Tutorial.lyx \
|
|
|
|
UserGuide.lyx
|
|
|
|
|
|
|
|
bibliodocdir = $(docdir)/biblio
|
2007-08-11 01:20:33 +00:00
|
|
|
dist_bibliodoc_DATA = \
|
|
|
|
biblio/alphadin.bst \
|
|
|
|
biblio/LyXDocs.bib
|
2007-08-26 20:21:56 +00:00
|
|
|
|
2008-08-15 21:29:33 +00:00
|
|
|
clipartdocdir = $(docdir)/clipart
|
2007-03-04 13:05:12 +00:00
|
|
|
dist_clipartdoc_DATA = \
|
|
|
|
clipart/escher-lsd.eps \
|
|
|
|
clipart/mobius.eps \
|
|
|
|
clipart/platypus.eps \
|
2007-08-10 01:32:55 +00:00
|
|
|
clipart/Abstract.pdf \
|
2007-03-04 13:05:12 +00:00
|
|
|
clipart/BoxInsetDefaultQt4.png \
|
2007-08-13 01:35:48 +00:00
|
|
|
clipart/ChangesToolbar.png \
|
2007-03-14 02:51:56 +00:00
|
|
|
clipart/ChildDocumentQt4.png \
|
2007-03-04 13:05:12 +00:00
|
|
|
clipart/CommentNoteImageQt4.png \
|
|
|
|
clipart/endnotes.pdf \
|
2007-08-10 08:41:48 +00:00
|
|
|
clipart/ERT.png \
|
2007-03-14 02:51:56 +00:00
|
|
|
clipart/ExternalMaterialQt4.png \
|
2007-08-10 08:41:48 +00:00
|
|
|
clipart/ExtraToolbar.png \
|
2007-03-04 13:05:12 +00:00
|
|
|
clipart/floatQt4.png \
|
|
|
|
clipart/footnoteQt4.png \
|
|
|
|
clipart/GreyedOutNoteImageQt4.png \
|
|
|
|
clipart/labelQt4.png \
|
2007-08-10 08:41:48 +00:00
|
|
|
clipart/LaTeX.png \
|
2007-03-04 13:05:12 +00:00
|
|
|
clipart/LyXNoteImageQt4.png \
|
2007-08-10 08:41:48 +00:00
|
|
|
clipart/macrobox.png \
|
|
|
|
clipart/macrouse.png \
|
|
|
|
clipart/mbox.png \
|
2007-03-04 13:05:12 +00:00
|
|
|
clipart/referenceQt4.png \
|
2007-08-10 08:41:48 +00:00
|
|
|
clipart/SpaceMarker.png \
|
|
|
|
clipart/StandardToolbar.png \
|
|
|
|
clipart/ToolbarEnvBox.png \
|
2007-08-13 01:35:48 +00:00
|
|
|
clipart/ViewToolbar.png \
|
2007-03-04 13:05:12 +00:00
|
|
|
clipart/without_fntright.pdf \
|
|
|
|
clipart/with_fntright.pdf
|
2007-03-04 04:03:54 +00:00
|
|
|
|
2008-08-15 21:29:33 +00:00
|
|
|
cadocdir = $(docdir)/ca
|
2008-07-30 21:41:22 +00:00
|
|
|
dist_cadoc_DATA = \
|
|
|
|
ca/Intro.lyx
|
|
|
|
|
2008-08-15 21:29:33 +00:00
|
|
|
csdocdir = $(docdir)/cs
|
2007-02-25 18:12:03 +00:00
|
|
|
dist_csdoc_DATA = \
|
|
|
|
cs/Tutorial.lyx
|
|
|
|
|
2008-08-15 21:29:33 +00:00
|
|
|
dadocdir = $(docdir)/da
|
2007-02-25 18:12:03 +00:00
|
|
|
dist_dadoc_DATA = \
|
|
|
|
da/Intro.lyx
|
|
|
|
|
2008-08-15 21:29:33 +00:00
|
|
|
dedocdir = $(docdir)/de
|
2007-02-25 18:12:03 +00:00
|
|
|
dist_dedoc_DATA = \
|
|
|
|
de/Customization.lyx \
|
2007-06-25 00:57:19 +00:00
|
|
|
de/DummyDocument1.lyx \
|
|
|
|
de/DummyDocument2.lyx \
|
|
|
|
de/DummyTextDocument.txt \
|
|
|
|
de/EmbeddedObjects.lyx \
|
2007-02-25 18:12:03 +00:00
|
|
|
de/Extended.lyx \
|
|
|
|
de/FAQ.lyx \
|
2008-01-27 20:58:45 +00:00
|
|
|
de/Formelnummerierung.lyx \
|
2007-02-25 18:12:03 +00:00
|
|
|
de/Intro.lyx \
|
2008-01-27 20:58:45 +00:00
|
|
|
de/Math.lyx \
|
2008-04-26 13:02:53 +00:00
|
|
|
de/Shortcuts.lyx \
|
2007-02-25 18:12:03 +00:00
|
|
|
de/Tutorial.lyx \
|
|
|
|
de/UserGuide.lyx
|
|
|
|
|
2008-08-15 21:29:33 +00:00
|
|
|
declipartdocdir = $(dedocdir)/clipart
|
2007-05-27 14:19:36 +00:00
|
|
|
dist_declipartdoc_DATA = \
|
2007-10-22 02:05:04 +00:00
|
|
|
de/clipart/ERT.png \
|
2007-06-24 08:51:41 +00:00
|
|
|
de/clipart/ExternesMaterialQt4.png \
|
|
|
|
de/clipart/FussnoteQt4.png \
|
|
|
|
de/clipart/GleitobjektQt4.png \
|
|
|
|
de/clipart/GrauschriftNotizQt4.png \
|
|
|
|
de/clipart/KommentarQt4.png \
|
|
|
|
de/clipart/LyXNotizQt4.png \
|
|
|
|
de/clipart/Marke.png \
|
|
|
|
de/clipart/Querverweis.png \
|
|
|
|
de/clipart/StandardBoxQt4.png \
|
|
|
|
de/clipart/UnterdokumentQt4.png
|
2007-05-27 14:19:36 +00:00
|
|
|
|
2008-08-15 21:29:33 +00:00
|
|
|
esdocdir = $(docdir)/es
|
2007-02-25 18:12:03 +00:00
|
|
|
dist_esdoc_DATA = \
|
2007-09-09 19:25:25 +00:00
|
|
|
es/DocumentoPostizo1.lyx \
|
|
|
|
es/DocumentoPostizo2.lyx \
|
2007-03-28 00:34:33 +00:00
|
|
|
es/DocumentoTextoPostizo.txt \
|
2007-03-18 15:42:30 +00:00
|
|
|
es/EmbeddedObjects.lyx \
|
2007-04-09 17:30:54 +00:00
|
|
|
es/Extended.lyx \
|
2008-01-15 22:56:22 +00:00
|
|
|
es/FAQ.lyx \
|
2008-03-01 14:50:42 +00:00
|
|
|
es/Formula-numbering.lyx \
|
2007-02-25 18:12:03 +00:00
|
|
|
es/Intro.lyx \
|
2008-03-01 14:50:42 +00:00
|
|
|
es/Math.lyx \
|
2007-10-06 06:52:07 +00:00
|
|
|
es/Tutorial.lyx \
|
|
|
|
es/UserGuide.lyx
|
2007-03-04 15:30:38 +00:00
|
|
|
|
2008-08-15 21:29:33 +00:00
|
|
|
esclipartdocdir = $(esdocdir)/clipart
|
2007-03-04 15:30:38 +00:00
|
|
|
dist_esclipartdoc_DATA = \
|
2007-03-04 13:05:12 +00:00
|
|
|
es/clipart/ComentNotaImagenQt4.png \
|
|
|
|
es/clipart/CuadroMinipagQt4.png \
|
2007-03-28 00:34:33 +00:00
|
|
|
es/clipart/DocumentoHijoQt4.png \
|
2007-09-09 13:51:30 +00:00
|
|
|
es/clipart/es_ERT.png \
|
2007-03-04 13:05:12 +00:00
|
|
|
es/clipart/etiquetaQt4.png \
|
|
|
|
es/clipart/flotanteQt4.png \
|
|
|
|
es/clipart/GrisNotaImagenQt4.png \
|
2007-03-28 00:34:33 +00:00
|
|
|
es/clipart/MaterialExternoQt4.png \
|
2007-03-04 13:05:12 +00:00
|
|
|
es/clipart/NotaLyXImagenQt4.png \
|
|
|
|
es/clipart/notapieQt4.png \
|
2007-09-09 13:51:30 +00:00
|
|
|
es/clipart/referenciaQt4.png \
|
|
|
|
es/clipart/Resumen.pdf
|
2007-03-04 04:03:54 +00:00
|
|
|
|
2008-08-15 21:29:33 +00:00
|
|
|
eudocdir = $(docdir)/eu
|
2007-02-25 18:12:03 +00:00
|
|
|
dist_eudoc_DATA = \
|
|
|
|
eu/Customization.lyx \
|
|
|
|
eu/Extended.lyx \
|
|
|
|
eu/FAQ.lyx \
|
|
|
|
eu/Intro.lyx \
|
|
|
|
eu/Tutorial.lyx \
|
|
|
|
eu/UserGuide.lyx
|
|
|
|
|
2008-08-15 21:29:33 +00:00
|
|
|
frdocdir = $(docdir)/fr
|
2007-02-25 18:12:03 +00:00
|
|
|
dist_frdoc_DATA = \
|
|
|
|
fr/Customization.lyx \
|
2008-02-08 21:48:18 +00:00
|
|
|
fr/DocumentBidon1.lyx \
|
|
|
|
fr/DocumentBidon2.lyx \
|
|
|
|
fr/DocumentTexteBidon.txt \
|
2007-11-12 22:34:10 +00:00
|
|
|
fr/EmbeddedObjects.lyx \
|
2007-02-25 18:12:03 +00:00
|
|
|
fr/Extended.lyx \
|
|
|
|
fr/FAQ.lyx \
|
2008-03-04 20:48:48 +00:00
|
|
|
fr/Formula-numbering.lyx \
|
2007-02-25 18:12:03 +00:00
|
|
|
fr/Intro.lyx \
|
2008-02-12 22:22:36 +00:00
|
|
|
fr/Math.lyx \
|
2007-02-25 18:12:03 +00:00
|
|
|
fr/Tutorial.lyx \
|
|
|
|
fr/UserGuide.lyx
|
|
|
|
|
2008-08-15 21:29:33 +00:00
|
|
|
frclipartdocdir = $(frdocdir)/clipart
|
2007-12-11 21:49:58 +00:00
|
|
|
dist_frclipartdoc_DATA = \
|
2007-12-12 09:39:08 +00:00
|
|
|
fr/clipart/BoxInsetDefaultQt4.png \
|
|
|
|
fr/clipart/ChildDocumentQt4.png \
|
|
|
|
fr/clipart/CommentNoteImageQt4.png \
|
|
|
|
fr/clipart/GreyedOutNoteImageQt4.png \
|
|
|
|
fr/clipart/LyXNoteImageQt4.png \
|
|
|
|
fr/clipart/floatQt4.png \
|
|
|
|
fr/clipart/footnoteQt4.png \
|
|
|
|
fr/clipart/labelQt4.png
|
2007-12-11 21:49:58 +00:00
|
|
|
|
2008-08-15 21:29:33 +00:00
|
|
|
gldocdir = $(docdir)/gl
|
2007-02-25 18:12:03 +00:00
|
|
|
dist_gldoc_DATA = \
|
|
|
|
gl/Intro.lyx \
|
|
|
|
gl/Tutorial.lyx
|
|
|
|
|
2008-08-15 21:29:33 +00:00
|
|
|
hedocdir = $(docdir)/he
|
2007-02-25 18:12:03 +00:00
|
|
|
dist_hedoc_DATA = \
|
|
|
|
he/Intro.lyx \
|
|
|
|
he/Tutorial.lyx
|
|
|
|
|
2008-08-15 21:29:33 +00:00
|
|
|
hudocdir = $(docdir)/hu
|
2007-02-25 18:12:03 +00:00
|
|
|
dist_hudoc_DATA = \
|
|
|
|
hu/Intro.lyx \
|
|
|
|
hu/Tutorial.lyx
|
|
|
|
|
2008-08-15 21:29:33 +00:00
|
|
|
itdocdir = $(docdir)/it
|
2007-02-25 18:12:03 +00:00
|
|
|
dist_itdoc_DATA = \
|
|
|
|
it/Customization.lyx \
|
|
|
|
it/Intro.lyx \
|
|
|
|
it/Tutorial.lyx \
|
|
|
|
it/UserGuide.lyx
|
|
|
|
|
2008-08-15 21:29:33 +00:00
|
|
|
itclipartdocdir = $(itdocdir)/clipart
|
2008-04-22 00:32:03 +00:00
|
|
|
dist_itclipartdoc_DATA = \
|
|
|
|
it/clipart/it_footnoteQt4.png \
|
|
|
|
it/clipart/it_referenceQt4.png
|
|
|
|
|
2008-08-15 21:29:33 +00:00
|
|
|
jadocdir = $(docdir)/ja
|
2008-04-22 00:29:18 +00:00
|
|
|
dist_jadoc_DATA = \
|
2008-06-07 01:52:18 +00:00
|
|
|
ja/FAQ.lyx \
|
|
|
|
ja/Intro.lyx \
|
|
|
|
ja/LaTeXConfig.lyx \
|
|
|
|
ja/Shortcuts.lyx \
|
|
|
|
ja/Tutorial.lyx
|
2008-04-22 00:29:18 +00:00
|
|
|
|
2008-08-15 21:29:33 +00:00
|
|
|
jaclipartdocdir = $(jadocdir)/clipart
|
2008-04-22 00:29:18 +00:00
|
|
|
dist_jaclipartdoc_DATA = \
|
|
|
|
ja/clipart/footnoteQt4.png \
|
|
|
|
ja/clipart/referenceQt4.png
|
|
|
|
|
2008-08-15 21:29:33 +00:00
|
|
|
nldocdir = $(docdir)/nl
|
2007-02-25 18:12:03 +00:00
|
|
|
dist_nldoc_DATA = \
|
|
|
|
nl/Intro.lyx \
|
|
|
|
nl/Tutorial.lyx
|
|
|
|
|
2008-08-15 21:29:33 +00:00
|
|
|
nbdocdir = $(docdir)/nb
|
2007-02-25 18:12:03 +00:00
|
|
|
dist_nbdoc_DATA = \
|
|
|
|
nb/Intro.lyx
|
|
|
|
|
2008-08-15 21:29:33 +00:00
|
|
|
pldocdir = $(docdir)/pl
|
2007-02-25 18:12:03 +00:00
|
|
|
dist_pldoc_DATA = \
|
|
|
|
pl/Extended.lyx \
|
|
|
|
pl/Intro.lyx \
|
|
|
|
pl/Tutorial.lyx
|
|
|
|
|
2008-08-15 21:29:33 +00:00
|
|
|
ptdocdir = $(docdir)/pt
|
2007-02-25 18:12:03 +00:00
|
|
|
dist_ptdoc_DATA = \
|
|
|
|
pt/Intro.lyx \
|
|
|
|
pt/Tutorial.lyx
|
|
|
|
|
2008-08-15 21:29:33 +00:00
|
|
|
rodocdir = $(docdir)/ro
|
2007-02-25 18:12:03 +00:00
|
|
|
dist_rodoc_DATA = \
|
|
|
|
ro/Intro.lyx
|
|
|
|
|
2008-08-15 21:29:33 +00:00
|
|
|
rudocdir = $(docdir)/ru
|
2007-02-25 18:12:03 +00:00
|
|
|
dist_rudoc_DATA = \
|
|
|
|
ru/FAQ.lyx \
|
|
|
|
ru/Intro.lyx \
|
|
|
|
ru/Tutorial.lyx
|
|
|
|
|
2008-08-15 21:29:33 +00:00
|
|
|
skdocdir = $(docdir)/sk
|
2007-02-25 18:12:03 +00:00
|
|
|
dist_skdoc_DATA = \
|
|
|
|
sk/Tutorial.lyx \
|
|
|
|
sk/UserGuide.lyx
|
|
|
|
|
2008-08-15 21:29:33 +00:00
|
|
|
sldocdir = $(docdir)/sl
|
2007-02-25 18:12:03 +00:00
|
|
|
dist_sldoc_DATA = \
|
|
|
|
sl/Intro.lyx \
|
|
|
|
sl/Tutorial.lyx
|
|
|
|
|
2008-08-15 21:29:33 +00:00
|
|
|
svdocdir = $(docdir)/sv
|
2007-02-25 18:12:03 +00:00
|
|
|
dist_svdoc_DATA = \
|
|
|
|
sv/Intro.lyx \
|
|
|
|
sv/Tutorial.lyx
|
|
|
|
|
2008-08-15 21:29:33 +00:00
|
|
|
ukdocdir = $(docdir)/uk
|
2008-08-15 19:57:30 +00:00
|
|
|
dist_ukdoc_DATA = \
|
|
|
|
uk/Intro.lyx
|
|
|
|
|
2008-08-15 21:29:33 +00:00
|
|
|
ukclipartdocdir = $(ukdocdir)/clipart
|
2008-08-15 19:57:30 +00:00
|
|
|
dist_ukclipartdoc_DATA = \
|
|
|
|
uk/clipart/FootnoteQT4.png
|
|
|
|
|
2008-08-12 09:05:30 +00:00
|
|
|
doc_files = \
|
|
|
|
$(dist_doc_DATA) \
|
|
|
|
$(dist_cadoc_DATA) \
|
|
|
|
$(dist_csdoc_DATA) \
|
|
|
|
$(dist_dadoc_DATA) \
|
|
|
|
$(dist_dedoc_DATA) \
|
|
|
|
$(dist_esdoc_DATA) \
|
|
|
|
$(dist_eudoc_DATA) \
|
|
|
|
$(dist_frdoc_DATA) \
|
|
|
|
$(dist_gldoc_DATA) \
|
|
|
|
$(dist_hedoc_DATA) \
|
|
|
|
$(dist_hudoc_DATA) \
|
|
|
|
$(dist_itdoc_DATA) \
|
|
|
|
$(dist_jadoc_DATA) \
|
|
|
|
$(dist_nldoc_DATA) \
|
|
|
|
$(dist_nbdoc_DATA) \
|
|
|
|
$(dist_pldoc_DATA) \
|
|
|
|
$(dist_ptdoc_DATA) \
|
|
|
|
$(dist_rodoc_DATA) \
|
|
|
|
$(dist_rudoc_DATA) \
|
|
|
|
$(dist_skdoc_DATA) \
|
|
|
|
$(dist_sldoc_DATA) \
|
|
|
|
$(dist_svdoc_DATA)
|
|
|
|
|
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; \
|
2008-08-15 12:32:47 +00:00
|
|
|
$(INSTALL_DATA) "$$file" "$(DESTDIR)$(docdir)/$$i"; \
|
2005-10-10 13:22:34 +00:00
|
|
|
done
|
2008-08-12 09:05:30 +00:00
|
|
|
for i in $(doc_files); \
|
|
|
|
do \
|
|
|
|
if $(EGREP) -q "LYX_DIR_VER|LYX_USERDIR_VER" "$(DESTDIR)$(docdir)/$$i"; then \
|
|
|
|
sed -e "s/LYX_DIR_VER/$(LYX_DIR_VER)/g" \
|
|
|
|
-e "s/LYX_USERDIR_VER/$(LYX_USERDIR_VER)/g" \
|
|
|
|
"$(DESTDIR)$(docdir)/$$i" > "$(DESTDIR)$(docdir)/$$i.tmp"; \
|
|
|
|
mv -f "$(DESTDIR)$(docdir)/$$i.tmp" "$(DESTDIR)$(docdir)/$$i"; \
|
|
|
|
chmod 644 "$(DESTDIR)$(docdir)/$$i"; \
|
|
|
|
fi; \
|
|
|
|
done
|
2005-10-10 13:22:34 +00:00
|
|
|
|
|
|
|
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
|