# We use DATA now instead of PYTHON because automake 1.11.2 complains.
# Note that we "chmod 755" manually this file in install-data-hook.
-dist_pkgdata_DATA += configure.py
+dist_pkgdata_DATA += configure.py
dist_noinst_DATA = \
appdata.xml \
examples/de/Lebenslauf.lyx \
examples/de/linguistics.lyx \
examples/de/MultilingualCaptions.lyx \
+ examples/de/PDF-comment.lyx \
examples/de/serienbrief1.lyx \
examples/de/serienbrief2.lyx \
examples/de/serienbrief3.lyx \
examples/fr/linguistics.lyx \
examples/fr/ListesPuces.lyx \
examples/fr/MultilingualCaptions.lyx \
+ examples/fr/PDF-comment.lyx \
examples/fr/seminar.lyx \
examples/fr/simplecv.lyx \
examples/fr/splash.lyx \
examples/springer/svmult_part.lyx \
examples/springer/svmult_preface.lyx \
examples/springer/svmult_referenc.lyx
-
+
thesisexamplesdir = $(pkgdatadir)/examples/thesis
dist_thesisexamples_DATA = \
examples/thesis/Acknowledgments.lyx \
examples/biblioExample.bib \
examples/chess-article.lyx \
examples/chessgame.lyx \
+ examples/colored-boxes.lyx \
examples/docbook_article.lyx \
examples/europeCV.lyx \
examples/europassCV.lyx \
examples/example_lyxified.lyx \
examples/example_raw.lyx \
examples/FeynmanDiagrams.lyx \
+ examples/H-P-statements.lyx \
examples/iecc05.fen \
examples/iecc07.fen \
examples/iecc12.fen \
examples/sweave.lyx \
examples/tufte-book.lyx \
examples/tufte-handout.lyx \
+ examples/varwidth-floats-side-by-side.lyx \
examples/xyfigure.lyx \
examples/xyfigure.png \
examples/xypic.lyx
images/href-insert.png \
images/hidetab.png \
images/index-insert.png \
+ images/info-insert.png \
images/info-insert_buffer_vcs-revision.png \
images/label-insert.png \
images/layout.png \
images/reload.png \
images/script-insert_subscript.png \
images/script-insert_superscript.png \
+ images/specialchar-insert_latex.png \
+ images/specialchar-insert_latex2e.png \
+ images/specialchar-insert_lyx.png \
+ images/specialchar-insert_menu-separator.png \
+ images/specialchar-insert_tex.png \
images/spelling-continuously.png \
images/view-split_horizontal.png \
images/view-split_vertical.png \
images/classic/view-others.png
imagescommandsdir = $(imagesdir)/commands
-dist_imagescommands_DATA =
+dist_imagescommands_DATA =
kbddir = $(pkgdatadir)/kbd
dist_kbd_DATA = \
layouts/book.layout \
layouts/braille.module \
layouts/broadway.layout \
+ layouts/changebars.module \
layouts/chess.layout \
layouts/cl2emult.layout \
layouts/ctex-article.layout \
layouts/heb-article.layout \
layouts/heb-letter.layout \
layouts/hollywood.layout \
+ layouts/hpstatement.module \
layouts/IEEEtran.layout \
layouts/IEEEtran-CompSoc.layout \
layouts/IEEEtran-TransMag.layout \
layouts/initials.module \
layouts/iopart.layout \
layouts/isprs.layout \
+ layouts/iucr.layout \
layouts/jarticle.layout \
layouts/jasatex.layout \
layouts/jbook.layout \
layouts/numreport.inc \
layouts/numrevtex.inc \
layouts/paper.layout \
+ layouts/paralist.module \
layouts/pdfcomment.module \
layouts/pdfform.module \
layouts/powerdot.layout \
layouts/todonotes.module \
layouts/treport.layout \
layouts/tufte-book.layout \
- layouts/tufte-handout.layout
+ layouts/tufte-handout.layout \
+ layouts/varwidth.module
scriptsdir = $(pkgdatadir)/scripts
dist_scripts_DATA = \
templates/IJMPC.lyx \
templates/IJMPD.lyx \
templates/IOP-article.lyx \
+ templates/IUCr-article.lyx \
templates/ja_beamer-conference-ornate-20min.lyx \
templates/JASA.lyx \
templates/JSS-article.lyx \
desktopdir = $(datadir)/applications
desktop_DATA = lyx@program_suffix@.desktop
-CLEANFILES += lyx@program_suffix@.desktop lyx.desktop-temp \
- lyx@program_suffix@.svg lyx@program_suffix@.png
+CLEANFILES = lyx@program_suffix@.desktop lyx.desktop-temp \
+ lyx@program_suffix@.svg lyx@program_suffix@.png
endif
dist_noinst_DATA += lyx.desktop.in images/lyx.svg images/lyx.png
+exampleandtemplate_files = \
+ $(dist_caexamples_DATA) \
+ $(dist_csexamples_DATA) \
+ $(dist_daexamples_DATA) \
+ $(dist_deexamples_DATA) \
+ $(dist_elexamples_DATA) \
+ $(dist_esexamples_DATA) \
+ $(dist_euexamples_DATA) \
+ $(dist_faexamples_DATA) \
+ $(dist_frexamples_DATA) \
+ $(dist_glexamples_DATA) \
+ $(dist_heexamples_DATA) \
+ $(dist_huexamples_DATA) \
+ $(dist_idexamples_DATA) \
+ $(dist_itexamples_DATA) \
+ $(dist_jaexamples_DATA) \
+ $(dist_koexamples_DATA) \
+ $(dist_nlexamples_DATA) \
+ $(dist_plexamples_DATA) \
+ $(dist_ptexamples_DATA) \
+ $(dist_roexamples_DATA) \
+ $(dist_ruexamples_DATA) \
+ $(dist_slexamples_DATA) \
+ $(dist_skexamples_DATA) \
+ $(dist_srexamples_DATA) \
+ $(dist_svexamples_DATA) \
+ $(dist_springerexamples_DATA) \
+ $(dist_thesisexamples_DATA) \
+ $(dist_ukexamples_DATA) \
+ $(dist_examples_DATA) \
+ $(dist_templates_DATA)
+
install-data-hook:
$(CHMOD) 755 $(DESTDIR)$(pkgdatadir)/configure.py
for i in $(DESTDIR)$(scriptsdir)/*.py $(DESTDIR)$(scriptsdir)/listerrors ; do \
$(CHMOD) 755 $$i; \
done
+ for i in $(exampleandtemplate_files); do \
+ if $(EGREP) -q "^\\\\origin " "$(DESTDIR)$(pkgdatadir)/$$i"; then \
+ origin=`dirname "/systemlyxdir/$$i"`/; \
+ sed -e "s|^\\\\origin .*|\\\\origin $$origin|" \
+ "$(DESTDIR)$(pkgdatadir)/$$i" > "$(DESTDIR)$(pkgdatadir)/$$i.tmp"; \
+ mv -f "$(DESTDIR)$(pkgdatadir)/$$i.tmp" "$(DESTDIR)$(pkgdatadir)/$$i"; \
+ chmod 644 "$(DESTDIR)$(pkgdatadir)/$$i"; \
+ fi; \
+ done
alltests: check alltests-recursive