mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-27 06:19:36 +00:00
351 lines
7.6 KiB
Makefile
351 lines
7.6 KiB
Makefile
include $(top_srcdir)/config/common.am
|
|
|
|
EXTRA_DIST = README.Documentation
|
|
|
|
docdir = $(pkgdatadir)/doc
|
|
dist_doc_DATA = \
|
|
Additional.lyx \
|
|
Customization.lyx \
|
|
Development.lyx \
|
|
DummyTextDocument.txt \
|
|
DummyDocument1.lyx \
|
|
DummyDocument2.lyx \
|
|
EmbeddedObjects.lyx \
|
|
Formula-numbering.lyx \
|
|
Intro.lyx \
|
|
LaTeXConfig.lyx \
|
|
LFUNs.lyx \
|
|
Math.lyx \
|
|
Shortcuts.lyx \
|
|
SpecialParagraphShape.tex \
|
|
Tutorial.lyx \
|
|
UserGuide.lyx
|
|
|
|
bibliodocdir = $(docdir)/biblio
|
|
dist_bibliodoc_DATA = \
|
|
biblio/alphadin.bst \
|
|
biblio/LyXDocs.bib
|
|
|
|
clipartdocdir = $(docdir)/clipart
|
|
dist_clipartdoc_DATA = \
|
|
clipart/2D-intensity-plot.pdf \
|
|
clipart/3D-structure-distort.pdf \
|
|
clipart/Abstract.pdf \
|
|
clipart/BoxInsetDefault.png \
|
|
clipart/ChangesToolbar.png \
|
|
clipart/ChildDocument.png \
|
|
clipart/CommentNoteImage.png \
|
|
clipart/endnotes.pdf \
|
|
clipart/ERT.png \
|
|
clipart/escher-lsd.eps \
|
|
clipart/ExternalMaterial.png \
|
|
clipart/ExtraToolbar.png \
|
|
clipart/float.png \
|
|
clipart/footnote.png \
|
|
clipart/GreyedOutNoteImage.png \
|
|
clipart/label.png \
|
|
clipart/LyXNoteImage.png \
|
|
clipart/macrobox.png \
|
|
clipart/MacroToolbar.png \
|
|
clipart/macrouse.png \
|
|
clipart/mobius.eps \
|
|
clipart/platypus.eps \
|
|
clipart/reference.png \
|
|
clipart/SpaceMarker.png \
|
|
clipart/StandardToolbar.png \
|
|
clipart/Star-structure.pdf \
|
|
clipart/SVG-Drawing.svg \
|
|
clipart/ToolbarEnvBox.png \
|
|
clipart/ViewToolbar.png \
|
|
clipart/without_fntright.pdf \
|
|
clipart/with_fntright.pdf \
|
|
clipart/workaround.png
|
|
|
|
ardocdir = $(docdir)/ar
|
|
dist_ardoc_DATA = \
|
|
ar/Intro.lyx \
|
|
ar/Shortcuts.lyx \
|
|
ar/Tutorial.lyx
|
|
|
|
cadocdir = $(docdir)/ca
|
|
dist_cadoc_DATA = \
|
|
ca/Intro.lyx
|
|
|
|
csdocdir = $(docdir)/cs
|
|
dist_csdoc_DATA = \
|
|
cs/Tutorial.lyx
|
|
|
|
dadocdir = $(docdir)/da
|
|
dist_dadoc_DATA = \
|
|
da/Intro.lyx
|
|
|
|
dedocdir = $(docdir)/de
|
|
dist_dedoc_DATA = \
|
|
de/Additional.lyx \
|
|
de/Customization.lyx \
|
|
de/DummyDocument1.lyx \
|
|
de/DummyDocument2.lyx \
|
|
de/DummyTextDocument.txt \
|
|
de/EmbeddedObjects.lyx \
|
|
de/Formelnummerierung.lyx \
|
|
de/Intro.lyx \
|
|
de/Math.lyx \
|
|
de/Shortcuts.lyx \
|
|
de/Tutorial.lyx \
|
|
de/UserGuide.lyx
|
|
|
|
declipartdocdir = $(dedocdir)/clipart
|
|
dist_declipartdoc_DATA = \
|
|
de/clipart/ERT.png \
|
|
de/clipart/ExternesMaterial.png \
|
|
de/clipart/Fussnote.png \
|
|
de/clipart/Gleitobjekt.png \
|
|
de/clipart/GrauschriftNotiz.png \
|
|
de/clipart/Kommentar.png \
|
|
de/clipart/LyXNotiz.png \
|
|
de/clipart/Marke.png \
|
|
de/clipart/Querverweis.png \
|
|
de/clipart/StandardBox.png \
|
|
de/clipart/Zusammenfassung.pdf
|
|
|
|
eldocdir = $(docdir)/el
|
|
dist_eldoc_DATA = \
|
|
el/Intro.lyx
|
|
|
|
esdocdir = $(docdir)/es
|
|
dist_esdoc_DATA = \
|
|
es/Additional.lyx \
|
|
es/Customization.lyx \
|
|
es/DocumentoPostizo1.lyx \
|
|
es/DocumentoPostizo2.lyx \
|
|
es/DocumentoTextoPostizo.txt \
|
|
es/EmbeddedObjects.lyx \
|
|
es/Formula-numbering.lyx \
|
|
es/Intro.lyx \
|
|
es/Math.lyx \
|
|
es/Shortcuts.lyx \
|
|
es/Tutorial.lyx \
|
|
es/UserGuide.lyx
|
|
|
|
esclipartdocdir = $(esdocdir)/clipart
|
|
dist_esclipartdoc_DATA = \
|
|
es/clipart/ComentNotaImagen.png \
|
|
es/clipart/CuadroMinipagina.png \
|
|
es/clipart/DocumentoHijo.png \
|
|
es/clipart/es_ERT.png \
|
|
es/clipart/es_StandardToolbar.png \
|
|
es/clipart/es_ToolbarEnvBox.png \
|
|
es/clipart/etiqueta.png \
|
|
es/clipart/flotante.png \
|
|
es/clipart/GrisNotaImagen.png \
|
|
es/clipart/MaterialExterno.png \
|
|
es/clipart/NotaLyXImagen.png \
|
|
es/clipart/notapie.png \
|
|
es/clipart/referencia.png \
|
|
es/clipart/Resumen.pdf
|
|
|
|
eudocdir = $(docdir)/eu
|
|
dist_eudoc_DATA = \
|
|
eu/Intro.lyx \
|
|
eu/Tutorial.lyx
|
|
|
|
frdocdir = $(docdir)/fr
|
|
dist_frdoc_DATA = \
|
|
fr/Additional.lyx \
|
|
fr/Customization.lyx \
|
|
fr/DocumentBidon1.lyx \
|
|
fr/DocumentBidon2.lyx \
|
|
fr/DocumentTexteBidon.txt \
|
|
fr/EmbeddedObjects.lyx \
|
|
fr/Formula-numbering.lyx \
|
|
fr/Intro.lyx \
|
|
fr/Math.lyx \
|
|
fr/Shortcuts.lyx \
|
|
fr/Tutorial.lyx \
|
|
fr/UserGuide.lyx
|
|
|
|
frclipartdocdir = $(frdocdir)/clipart
|
|
dist_frclipartdoc_DATA = \
|
|
fr/clipart/BoxInsetDefault.png \
|
|
fr/clipart/CommentNoteImage.png \
|
|
fr/clipart/ERT.png \
|
|
fr/clipart/float.png \
|
|
fr/clipart/footnote.png \
|
|
fr/clipart/GreyedOutNoteImage.png \
|
|
fr/clipart/label.png \
|
|
fr/clipart/LyXNoteImage.png \
|
|
fr/clipart/reference.png \
|
|
fr/clipart/SousDocument.png
|
|
|
|
gldocdir = $(docdir)/gl
|
|
dist_gldoc_DATA = \
|
|
gl/Intro.lyx \
|
|
gl/Tutorial.lyx
|
|
|
|
hedocdir = $(docdir)/he
|
|
dist_hedoc_DATA = \
|
|
he/Intro.lyx \
|
|
he/Tutorial.lyx
|
|
|
|
hudocdir = $(docdir)/hu
|
|
dist_hudoc_DATA = \
|
|
hu/Intro.lyx \
|
|
hu/Tutorial.lyx
|
|
|
|
iddocdir = $(docdir)/id
|
|
dist_iddoc_DATA = \
|
|
id/Intro.lyx \
|
|
id/Shortcuts.lyx \
|
|
id/Tutorial.lyx
|
|
|
|
idclipartdocdir = $(iddocdir)/clipart
|
|
dist_idclipartdoc_DATA = \
|
|
id/clipart/id-contrib.png \
|
|
id/clipart/id-footnote.png \
|
|
id/clipart/id-lingkungan.png
|
|
|
|
itdocdir = $(docdir)/it
|
|
dist_itdoc_DATA = \
|
|
it/Intro.lyx \
|
|
it/Tutorial.lyx
|
|
|
|
itclipartdocdir = $(itdocdir)/clipart
|
|
dist_itclipartdoc_DATA = \
|
|
it/clipart/it_footnote.png \
|
|
it/clipart/it_reference.png
|
|
|
|
jadocdir = $(docdir)/ja
|
|
dist_jadoc_DATA = \
|
|
ja/Additional.lyx \
|
|
ja/Customization.lyx \
|
|
ja/DummyDocument1.lyx \
|
|
ja/DummyDocument2.lyx \
|
|
ja/DummyTextDocument.txt \
|
|
ja/EmbeddedObjects.lyx \
|
|
ja/Formula-numbering.lyx \
|
|
ja/Intro.lyx \
|
|
ja/LaTeXConfig.lyx \
|
|
ja/Math.lyx \
|
|
ja/Shortcuts.lyx \
|
|
ja/Tutorial.lyx \
|
|
ja/UserGuide.lyx
|
|
|
|
jaclipartdocdir = $(jadocdir)/clipart
|
|
dist_jaclipartdoc_DATA = \
|
|
ja/clipart/BoxInsetDefault.png \
|
|
ja/clipart/ChildDocument.png \
|
|
ja/clipart/CommentNoteImage.png \
|
|
ja/clipart/ERT.png \
|
|
ja/clipart/ExternalMaterial.png \
|
|
ja/clipart/float.png \
|
|
ja/clipart/footnote.png \
|
|
ja/clipart/GreyedOutNoteImage.png \
|
|
ja/clipart/label.png \
|
|
ja/clipart/LyXNoteImage.png \
|
|
ja/clipart/macrobox.png \
|
|
ja/clipart/reference.png \
|
|
ja/clipart/StandardToolbar.png \
|
|
ja/clipart/ToolbarEnvBox.png
|
|
|
|
nldocdir = $(docdir)/nl
|
|
dist_nldoc_DATA = \
|
|
nl/Intro.lyx \
|
|
nl/Tutorial.lyx
|
|
|
|
nbdocdir = $(docdir)/nb
|
|
dist_nbdoc_DATA = \
|
|
nb/Intro.lyx \
|
|
nb/Tutorial.lyx
|
|
|
|
pldocdir = $(docdir)/pl
|
|
dist_pldoc_DATA = \
|
|
pl/Intro.lyx \
|
|
pl/Tutorial.lyx
|
|
|
|
ptdocdir = $(docdir)/pt
|
|
dist_ptdoc_DATA = \
|
|
pt/Intro.lyx \
|
|
pt/Tutorial.lyx
|
|
|
|
rodocdir = $(docdir)/ro
|
|
dist_rodoc_DATA = \
|
|
ro/Intro.lyx
|
|
|
|
rudocdir = $(docdir)/ru
|
|
dist_rudoc_DATA = \
|
|
ru/Intro.lyx \
|
|
ru/Tutorial.lyx
|
|
|
|
ruclipartdocdir = $(rudocdir)/clipart
|
|
dist_ruclipartdoc_DATA = \
|
|
ru/clipart/ToolbarEnvBox.png
|
|
|
|
skdocdir = $(docdir)/sk
|
|
dist_skdoc_DATA = \
|
|
sk/Intro.lyx \
|
|
sk/Tutorial.lyx
|
|
|
|
sldocdir = $(docdir)/sl
|
|
dist_sldoc_DATA = \
|
|
sl/Intro.lyx \
|
|
sl/Tutorial.lyx
|
|
|
|
svdocdir = $(docdir)/sv
|
|
dist_svdoc_DATA = \
|
|
sv/Intro.lyx \
|
|
sv/Shortcuts.lyx \
|
|
sv/Tutorial.lyx
|
|
|
|
ukdocdir = $(docdir)/uk
|
|
dist_ukdoc_DATA = \
|
|
uk/Intro.lyx
|
|
|
|
ukclipartdocdir = $(ukdocdir)/clipart
|
|
dist_ukclipartdoc_DATA = \
|
|
uk/clipart/footnote.png
|
|
|
|
zhCNdocdir = $(docdir)/zh_CN
|
|
dist_zhCNdoc_DATA = \
|
|
zh_CN/Intro.lyx \
|
|
zh_CN/Tutorial.lyx
|
|
|
|
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_nbdoc_DATA) \
|
|
$(dist_nldoc_DATA) \
|
|
$(dist_pldoc_DATA) \
|
|
$(dist_ptdoc_DATA) \
|
|
$(dist_rodoc_DATA) \
|
|
$(dist_rudoc_DATA) \
|
|
$(dist_skdoc_DATA) \
|
|
$(dist_sldoc_DATA) \
|
|
$(dist_svdoc_DATA) \
|
|
$(dist_ukdoc_DATA) \
|
|
$(dist_zhCNdoc_DATA)
|
|
|
|
install-data-hook:
|
|
for i in $(doc_files); \
|
|
do \
|
|
if $(EGREP) -q "LYX_DIR_VER|LYX_USERDIR_VER|^\\\\origin " "$(DESTDIR)$(docdir)/$$i"; then \
|
|
origin=`dirname "/systemlyxdir/doc/$$i"`/; \
|
|
sed -e "s/LYX_DIR_VER/$(LYX_DIR_VER)/g" \
|
|
-e "s/LYX_USERDIR_VER/$(LYX_USERDIR_VER)/g" \
|
|
-e "s|^\\\\origin .*|\\\\origin $$origin|" \
|
|
"$(DESTDIR)$(docdir)/$$i" > "$(DESTDIR)$(docdir)/$$i.tmp"; \
|
|
mv -f "$(DESTDIR)$(docdir)/$$i.tmp" "$(DESTDIR)$(docdir)/$$i"; \
|
|
chmod 644 "$(DESTDIR)$(docdir)/$$i"; \
|
|
fi; \
|
|
done
|