X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2FMakefile.am;h=352ce36aa1774e4dcaec9b79ce792e8be6d6c855;hb=92cee8a2628f9b8cf70ceeb42046b13c07943d21;hp=6549f2cf40387780c1e880de019b14d919a0d59e;hpb=d0146ccfa4b486db8f75fa13f3b134b65845befe;p=lyx.git diff --git a/lib/Makefile.am b/lib/Makefile.am index 6549f2cf40..352ce36aa1 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -1,46 +1,174 @@ include $(top_srcdir)/config/common.am -DISTCLEANFILES += textclass.lst packages.lst lyxrc.defaults +SUBDIRS = doc lyx2lyx -SUBDIRS = doc reLyX +CHMOD = chmod -EXTRA_DIST = CREDITS chkconfig.ltx configure.cmd lyxrc.example \ - external_templates bind clipart examples images \ - kbd layouts lyx2lyx scripts templates tex ui encodings \ - languages symbols configure configure.m4 +dist_pkgdata_DATA = CREDITS chkconfig.ltx external_templates encodings \ + languages symbols syntax.default unicodesymbols -CHMOD = chmod +# Note that we "chmod 755" manually this file in install-data-hook. +dist_pkgdata_PYTHON = configure.py + +dist_noinst_DATA = \ + images/README \ + images/font-smallcaps.xpm \ + images/math/ams_arrows.xbm \ + images/math/ams_misc.xbm \ + images/math/ams_nrel.xbm \ + images/math/ams_ops.xbm \ + images/math/ams_rel.xbm \ + images/math/arrows.xbm \ + images/math/bop.xbm \ + images/math/brel.xbm \ + images/math/deco.xbm \ + images/math/deco.xpm \ + images/math/delim0.xpm \ + images/math/delim1.xpm \ + images/math/delim.xbm \ + images/math/dots.xbm \ + images/math/font.xbm \ + images/math/greek.xbm \ + images/math/misc.xbm \ + images/math/varsz.xbm + +debinddir = $(pkgdatadir)/bind/de +dist_debind_DATA = \ + bind/de/menus.bind + +fibinddir = $(pkgdatadir)/bind/fi +dist_fibind_DATA = \ + bind/fi/menus.bind -pkgdata_DATA = lyxrc.example CREDITS chkconfig.ltx lyxrc.defaults \ - textclass.lst packages.lst external_templates \ - encodings languages symbols +ptbinddir = $(pkgdatadir)/bind/pt +dist_ptbind_DATA = \ + bind/pt/menus.bind -pkgdata_SCRIPTS = configure configure.cmd +svbinddir = $(pkgdatadir)/bind/sv +dist_svbind_DATA = \ + bind/sv/menus.bind binddir = $(pkgdatadir)/bind -bind_DATA = \ +dist_bind_DATA = \ bind/broadway.bind \ bind/cua.bind \ bind/cyrkeys.bind \ - bind/de_menus.bind \ bind/emacs.bind \ - bind/fi_menus.bind \ bind/greekkeys.bind \ bind/hollywood.bind \ bind/latinkeys.bind \ + bind/mac.bind \ bind/math.bind \ bind/menus.bind \ - bind/pt_menus.bind \ bind/sciword.bind \ - bind/sv_menus.bind \ bind/xemacs.bind \ bind/aqua.bind -clipartdir = $(pkgdatadir)/clipart -clipart_DATA = clipart/platypus.eps +caexamplesdir = $(pkgdatadir)/examples/ca +dist_caexamples_DATA = \ + examples/ca/splash.lyx + +csexamplesdir = $(pkgdatadir)/examples/cs +dist_csexamples_DATA = \ + examples/cs/splash.lyx + +daexamplesdir = $(pkgdatadir)/examples/da +dist_daexamples_DATA = \ + examples/da/splash.lyx + +deexamplesdir = $(pkgdatadir)/examples/de +dist_deexamples_DATA = \ + examples/de/ItemizeBullets.lyx \ + examples/de/Lebenslauf.lyx \ + examples/de/Minipage.lyx \ + examples/de/TableExamples.lyx \ + examples/de/Waehrungen.lyx \ + examples/de/beispiel_gelyxt.lyx \ + examples/de/beispiel_roh.lyx \ + examples/de/decimal.lyx \ + examples/de/splash.lyx \ + examples/de/mathed.lyx \ + examples/de/multicol.lyx + +esexamplesdir = $(pkgdatadir)/examples/es +dist_esexamples_DATA = \ + examples/es/ejemplo_con_lyx.lyx \ + examples/es/ejemplo_sin_lyx.lyx \ + examples/es/splash.lyx + +euexamplesdir = $(pkgdatadir)/examples/eu +dist_euexamples_DATA = \ + examples/eu/adibide_gordina.lyx \ + examples/eu/adibide_lyx-atua.lyx \ + examples/eu/splash.lyx + +frexamplesdir = $(pkgdatadir)/examples/fr +dist_frexamples_DATA = \ + examples/fr/AlignementDecimal.lyx \ + examples/fr/CV.lyx \ + examples/fr/ExemplesTableaux.lyx \ + examples/fr/Foils.lyx \ + examples/fr/ListesPuces.lyx \ + examples/fr/Minipage.lyx \ + examples/fr/exemple_brut.lyx \ + examples/fr/exemple_lyxifie.lyx \ + examples/fr/mathed.lyx \ + examples/fr/multicol.lyx \ + examples/fr/splash.lyx + +glexamplesdir = $(pkgdatadir)/examples/gl +dist_glexamples_DATA = \ + examples/gl/exemplo_bruto.lyx \ + examples/gl/exemplo_lyxificado.lyx \ + examples/gl/splash.lyx + +heexamplesdir = $(pkgdatadir)/examples/he +dist_heexamples_DATA = \ + examples/he/example_raw.lyx \ + examples/he/he_example_lyxified.lyx \ + examples/he/he_example_raw.lyx + +huexamplesdir = $(pkgdatadir)/examples/hu +dist_huexamples_DATA = \ + examples/hu/splash.lyx + +itexamplesdir = $(pkgdatadir)/examples/it +dist_itexamples_DATA = \ + examples/it/ItemizeBullets.lyx \ + examples/it/splash.lyx + +nlexamplesdir = $(pkgdatadir)/examples/nl +dist_nlexamples_DATA = \ + examples/nl/multicol.lyx \ + examples/nl/opsommingstekens.lyx \ + examples/nl/splash.lyx \ + examples/nl/voorbeeld_ruw.lyx \ + examples/nl/voorbeeld_verlyxt.lyx + +plexamplesdir = $(pkgdatadir)/examples/pl +dist_plexamples_DATA = \ + examples/pl/splash.lyx + +ptexamplesdir = $(pkgdatadir)/examples/pt +dist_ptexamples_DATA = \ + examples/pt/splash.lyx + +roexamplesdir = $(pkgdatadir)/examples/ro +dist_roexamples_DATA = \ + examples/ro/splash.lyx + +ruexamplesdir = $(pkgdatadir)/examples/ru +dist_ruexamples_DATA = \ + examples/ru/splash.lyx + +slexamplesdir = $(pkgdatadir)/examples/sl +dist_slexamples_DATA = \ + examples/sl/primer_lyxan.lyx \ + examples/sl/primer_surov.lyx \ + examples/sl/splash.lyx examplesdir = $(pkgdatadir)/examples -examples_DATA = \ +dist_examples_DATA = \ examples/Foils.lyx \ examples/ItemizeBullets.lyx \ examples/Literate.lyx \ @@ -50,88 +178,70 @@ examples_DATA = \ examples/aas_sample.lyx \ examples/amsart-test.lyx \ examples/amsbook-test.lyx \ - examples/ca_splash.lyx \ + examples/beamer-g4.jpg \ + examples/beamer-g4-mask.jpg \ + examples/beamer-icsi-logo.pdf \ + examples/beamer-knight1-mask.png \ + examples/beamer-knight1.png \ + examples/beamer-knight2-mask.png \ + examples/beamer-knight2.png \ + examples/beamer-knight3-mask.png \ + examples/beamer-knight3.png \ + examples/beamer-knight4-mask.png \ + examples/beamer-knight4.png \ + examples/beamerlyxexample1.lyx \ examples/chess-article.lyx \ examples/chessgame.lyx \ examples/currency.lyx \ examples/cv.lyx \ - examples/da_splash.lyx \ - examples/de_beispiel_gelyxt.lyx \ - examples/de_beispiel_roh.lyx \ - examples/de_splash.lyx \ examples/decimal.lyx \ examples/docbook_article.lyx \ - examples/es_ejemplo_con_lyx.lyx \ - examples/es_ejemplo_sin_lyx.lyx \ - examples/es_splash.lyx \ - examples/eu_adibide_gordina.lyx \ - examples/eu_adibide_lyx-atua.lyx \ - examples/eu_splash.lyx \ examples/example_lyxified.lyx \ examples/example_raw.lyx \ - examples/fr_AlignementDecimal.lyx \ - examples/fr_CV.lyx \ - examples/fr_ExemplesTableaux.lyx \ - examples/fr_Foils.lyx \ - examples/fr_ListesPuces.lyx \ - examples/fr_Minipage.lyx \ - examples/fr_exemple_brut.lyx \ - examples/fr_exemple_lyxifie.lyx \ - examples/fr_mathed.lyx \ - examples/fr_multicol.lyx \ - examples/fr_splash.lyx \ - examples/he_example_raw.lyx \ - examples/he_he_example_lyxified.lyx \ - examples/he_he_example_raw.lyx \ - examples/hu_splash.lyx \ examples/iecc05.fen \ examples/iecc07.fen \ examples/iecc12.fen \ - examples/it_ItemizeBullets.lyx \ - examples/it_splash.lyx \ examples/landslide.lyx \ - examples/linuxdoc_manpage.lyx \ examples/listerrors.lyx \ examples/mathed.lyx \ examples/multicol.lyx \ - examples/nl_multicol.lyx \ - examples/nl_opsommingstekens.lyx \ - examples/nl_splash.lyx \ - examples/nl_voorbeeld_ruw.lyx \ - examples/nl_voorbeeld_verlyxt.lyx \ examples/noweb2lyx.lyx \ - examples/pl_splash.lyx \ - examples/pt_splash.lyx \ - examples/ru_splash.lyx \ examples/script_form.lyx \ - examples/sl_primer_lyxan.lyx \ - examples/sl_primer_surov.lyx \ - examples/sl_splash.lyx \ examples/splash.lyx \ - examples/g-brief2.lyx \ - examples/ro_splash.lyx + examples/g-brief2.lyx imagesdir = $(pkgdatadir)/images -images_DATA = \ +dist_images_DATA = \ + images/all-changes-accept.xpm \ + images/all-changes-reject.xpm \ images/amssymb.xpm \ - images/banner.ppm \ + images/banner.png \ images/bookmark-goto.xpm \ images/bookmark-save.xpm \ images/break-line.xpm \ images/buffer-close.xpm \ images/buffer-export_dvi.xpm \ images/buffer-export_latex.xpm \ + images/buffer-export_pdf2.xpm \ images/buffer-export_ps.xpm \ images/buffer-export_text.xpm \ images/buffer-new.xpm \ images/buffer-reload.xpm \ images/buffer-update_dvi.xpm \ + images/buffer-update_pdf2.xpm \ images/buffer-update_ps.xpm \ images/buffer-view_dvi.xpm \ + images/buffer-view_pdf2.xpm \ images/buffer-view_ps.xpm \ images/buffer-write-as.xpm \ images/buffer-write.xpm \ images/build-program.xpm \ + images/change-accept.xpm \ + images/change-next.xpm \ + images/change-reject.xpm \ + images/changes-merge.xpm \ + images/changes-output.xpm \ + images/changes-track.xpm \ images/copy.xpm \ images/cut.xpm \ images/depth-decrement.xpm \ @@ -143,6 +253,8 @@ images_DATA = \ images/dialog-show-new-inset_ref.xpm \ images/dialog-show_character.xpm \ images/dialog-show_findreplace.xpm \ + images/dialog-show_mathdelimiter.xpm \ + images/dialog-show_mathmatrix.xpm \ images/dialog-show_mathpanel.xpm \ images/dialog-show_print.xpm \ images/dialog-show_spellchecker.xpm \ @@ -159,6 +271,7 @@ images_DATA = \ images/footnote-insert.xpm \ images/index-insert.xpm \ images/label-insert.xpm \ + images/layout.xpm \ images/layout-document.xpm \ images/layout-paragraph.xpm \ images/layout_Description.xpm \ @@ -172,11 +285,12 @@ images_DATA = \ images/lyx.xpm \ images/marginalnote-insert.xpm \ images/math-display.xpm \ - images/math-matrix.xpm \ images/math-mode.xpm \ images/math-subscript.xpm \ images/math-superscript.xpm \ + images/nomencl-insert.xpm \ images/note-insert.xpm \ + images/note-next.xpm \ images/paste.xpm \ images/psnfss1.xpm \ images/psnfss2.xpm \ @@ -213,12 +327,23 @@ images_DATA = \ images/url-insert.xpm imagesmathdir = $(imagesdir)/math -imagesmath_DATA = \ +dist_imagesmath_DATA = \ + images/math/style.xbm \ + images/math/font.xpm \ + images/math/delim.xpm \ + images/math/equation.xpm \ + images/math/matrix.xpm \ + images/math/space.xpm \ + images/math/sqrt-square.xpm \ + images/math/style.xpm \ + images/math/sub.xpm \ + images/math/super.xpm \ images/math/Bbbk.xpm \ images/math/Finv.xpm \ images/math/Game.xpm \ images/math/Im.xpm \ images/math/Lleftarrow.xpm \ + images/math/Rrightarrow.xpm \ images/math/Lsh.xpm \ images/math/Re.xpm \ images/math/Rsh.xpm \ @@ -322,6 +447,8 @@ imagesmath_DATA = \ images/math/doteq.xpm \ images/math/doteqdot.xpm \ images/math/dotplus.xpm \ + images/math/dotsint.xpm \ + images/math/dotsintop.xpm \ images/math/doublebarwedge.xpm \ images/math/downarrow.xpm \ images/math/downarrow2.xpm \ @@ -343,6 +470,7 @@ imagesmath_DATA = \ images/math/flat.xpm \ images/math/forall.xpm \ images/math/frac.xpm \ + images/math/frac-square.xpm \ images/math/frown.xpm \ images/math/gamma.xpm \ images/math/gamma2.xpm \ @@ -369,12 +497,20 @@ imagesmath_DATA = \ images/math/heartsuit.xpm \ images/math/hookleftarrow.xpm \ images/math/hookrightarrow.xpm \ + images/math/hphantom.xpm \ images/math/hslash.xpm \ + images/math/iiiint.xpm \ + images/math/iiiintop.xpm \ + images/math/iiint.xpm \ + images/math/iiintop.xpm \ + images/math/iint.xpm \ + images/math/iintop.xpm \ images/math/imath.xpm \ images/math/in.xpm \ images/math/infty.xpm \ images/math/int.xpm \ images/math/intercal.xpm \ + images/math/intop.xpm \ images/math/iota.xpm \ images/math/jmath.xpm \ images/math/kappa.xpm \ @@ -498,7 +634,14 @@ imagesmath_DATA = \ images/math/nvdash3.xpm \ images/math/nwarrow.xpm \ images/math/odot.xpm \ + images/math/oiint.xpm \ + images/math/oiintop.xpm \ images/math/oint.xpm \ + images/math/ointclockwise.xpm \ + images/math/ointclockwiseop.xpm \ + images/math/ointctrclockwise.xpm \ + images/math/ointctrclockwiseop.xpm \ + images/math/ointop.xpm \ images/math/omega.xpm \ images/math/omega2.xpm \ images/math/ominus.xpm \ @@ -510,9 +653,11 @@ imagesmath_DATA = \ images/math/overleftrightarrow.xpm \ images/math/overline.xpm \ images/math/overrightarrow.xpm \ + images/math/overset.xpm \ images/math/parallel.xpm \ images/math/partial.xpm \ images/math/perp.xpm \ + images/math/phantom.xpm \ images/math/phi.xpm \ images/math/phi2.xpm \ images/math/pi.xpm \ @@ -569,6 +714,10 @@ imagesmath_DATA = \ images/math/sphericalangle.xpm \ images/math/sqcap.xpm \ images/math/sqcup.xpm \ + images/math/sqiint.xpm \ + images/math/sqiintop.xpm \ + images/math/sqint.xpm \ + images/math/sqintop.xpm \ images/math/sqrt.xpm \ images/math/sqsubset.xpm \ images/math/sqsubseteq.xpm \ @@ -599,8 +748,8 @@ imagesmath_DATA = \ images/math/surd.xpm \ images/math/swarrow.xpm \ images/math/tau.xpm \ - images/math/textrm_0.xpm \ - images/math/textrm_A.xpm \ + images/math/textrm_Oe.xpm \ + images/math/textrm_AA.xpm \ images/math/therefore.xpm \ images/math/theta.xpm \ images/math/theta2.xpm \ @@ -625,6 +774,7 @@ imagesmath_DATA = \ images/math/underline.xpm \ images/math/underrightarrow.xpm \ images/math/underscore.xpm \ + images/math/underset.xpm \ images/math/uparrow.xpm \ images/math/uparrow2.xpm \ images/math/updownarrow.xpm \ @@ -658,6 +808,7 @@ imagesmath_DATA = \ images/math/vec.xpm \ images/math/vee.xpm \ images/math/veebar.xpm \ + images/math/vphantom.xpm \ images/math/wedge.xpm \ images/math/widehat.xpm \ images/math/widetilde.xpm \ @@ -668,14 +819,13 @@ imagesmath_DATA = \ images/math/zeta.xpm kbddir = $(pkgdatadir)/kbd -kbd_DATA = \ +dist_kbd_DATA = \ kbd/american-2.kmap \ kbd/american.kmap \ kbd/arabic.kmap \ kbd/bg-bds-1251.kmap \ kbd/brazil.kmap \ kbd/brazil2.kmap \ - kbd/cp1251.cdef \ kbd/czech-prg.kmap \ kbd/czech.kmap \ kbd/european.kmap \ @@ -686,19 +836,7 @@ kbd_DATA = \ kbd/german.kmap \ kbd/greek.kmap \ kbd/hebrew.kmap \ - kbd/ibm866.cdef \ - kbd/iso8859-1.cdef \ - kbd/iso8859-15.cdef \ - kbd/iso8859-2.cdef \ - kbd/iso8859-3.cdef \ - kbd/iso8859-4.cdef \ - kbd/iso8859-7.cdef \ - kbd/iso8859-8.cdef \ - kbd/iso8859-9.cdef \ - kbd/koi8-r.cdef \ kbd/koi8-r.kmap \ - kbd/koi8-t.cdef \ - kbd/koi8-u.cdef \ kbd/koi8-u.kmap \ kbd/latvian.kmap \ kbd/magyar-2.kmap \ @@ -716,14 +854,13 @@ kbd_DATA = \ kbd/slovak.kmap \ kbd/slovene.kmap \ kbd/thai-kedmanee.kmap \ - kbd/tis620-0.cdef \ kbd/transilvanian.kmap \ kbd/turkish-f.kmap \ kbd/turkish.kmap \ kbd/espanol.kmap layoutsdir = $(pkgdatadir)/layouts -layouts_DATA =\ +dist_layouts_DATA =\ layouts/IEEEtran.layout \ layouts/aa.layout \ layouts/aapaper.inc \ @@ -739,7 +876,9 @@ layouts_DATA =\ layouts/amsmaths-seq.inc \ layouts/amsmaths.inc \ layouts/apa.layout \ + layouts/arab-article.layout \ layouts/article.layout \ + layouts/beamer.layout \ layouts/book.layout \ layouts/broadway.layout \ layouts/chess.layout \ @@ -747,6 +886,8 @@ layouts_DATA =\ layouts/cv.layout \ layouts/db_lyxmacros.inc \ layouts/db_stdclass.inc \ + layouts/db_stdcharstyles.inc \ + layouts/db_stdcounters.inc \ layouts/db_stdlayouts.inc \ layouts/db_stdlists.inc \ layouts/db_stdsections.inc \ @@ -762,6 +903,7 @@ layouts_DATA =\ layouts/egs.layout \ layouts/elsart.layout \ layouts/entcs.layout \ + layouts/europecv.layout \ layouts/extarticle.layout \ layouts/extbook.layout \ layouts/extletter.layout \ @@ -772,12 +914,12 @@ layouts_DATA =\ layouts/heb-article.layout \ layouts/heb-letter.layout \ layouts/hollywood.layout \ + layouts/ijmpc.layout \ layouts/ijmpd.layout \ layouts/jgrga.layout \ layouts/kluwer.layout \ layouts/latex8.layout \ layouts/letter.layout \ - layouts/linuxdoc.layout \ layouts/literate-article.layout \ layouts/literate-book.layout \ layouts/literate-report.layout \ @@ -786,10 +928,10 @@ layouts_DATA =\ layouts/ltugboat.layout \ layouts/lyxmacros.inc \ layouts/manpage.layout \ + layouts/moderncv.layout \ layouts/mwart.layout \ layouts/mwbk.layout \ layouts/mwrep.layout \ - layouts/obsolete.inc \ layouts/paper.layout \ layouts/report.layout \ layouts/revtex.layout \ @@ -799,7 +941,6 @@ layouts_DATA =\ layouts/scrclass.inc \ layouts/scrlettr.layout \ layouts/scrlttr2.layout \ - layouts/scrmacros.inc \ layouts/scrreprt.layout \ layouts/seminar.layout \ layouts/siamltex.layout \ @@ -823,7 +964,6 @@ layouts_DATA =\ layouts/numarticle.inc \ layouts/numreport.inc \ layouts/numrevtex.inc \ - layouts/db_stdcounters.inc \ layouts/agu-dtd.layout \ layouts/agu_stdclass.inc \ layouts/agu_stdcounters.inc \ @@ -833,58 +973,58 @@ layouts_DATA =\ layouts/g-brief2.layout \ layouts/svglobal.layout -lyx2lyxdir = $(pkgdatadir)/lyx2lyx -lyx2lyx_SCRIPTS = lyx2lyx/lyx2lyx -lyx2lyx_DATA = \ - lyx2lyx/lyx2lyx \ - lyx2lyx/parser_tools.py \ - lyx2lyx/lyx_0_12.py \ - lyx2lyx/lyx_1_0_0.py \ - lyx2lyx/lyx_1_0_1.py \ - lyx2lyx/lyx_1_1_4.py \ - lyx2lyx/lyx_1_1_5.py \ - lyx2lyx/lyx_1_1_6.py \ - lyx2lyx/lyx_1_1_6fix3.py \ - lyx2lyx/lyx_1_2.py \ - lyx2lyx/lyx_1_3.py \ - lyx2lyx/lyx_1_4.py - scriptsdir = $(pkgdatadir)/scripts -scripts_SCRIPTS = \ - scripts/TeXFiles.sh \ - scripts/convertDefault.sh \ +# Note that we "chmod 755" manually these files in install-data-hook. +dist_scripts_PYTHON = \ + scripts/TeXFiles.py \ + scripts/clean_dvi.py \ + scripts/convertDefault.py \ + scripts/date.py \ scripts/fen2ascii.py \ - scripts/fig2pdftex.sh \ - scripts/fig2pstex.sh \ - scripts/listerrors \ + scripts/fig2pdftex.py \ + scripts/fig2pstex.py \ + scripts/fig_copy.py \ + scripts/layout2layout.py \ scripts/legacy_lyxpreview2ppm.py \ - scripts/lyxpreview2bitmap.py + scripts/listerrors \ + scripts/lyxpreview2bitmap.py \ + scripts/lyxpreview_tools.py \ + scripts/tex_copy.py templatesdir = $(pkgdatadir)/templates -templates_DATA = \ +dist_templates_DATA = \ templates/IEEEtran.lyx \ templates/README.new_templates \ templates/aa.lyx \ templates/aastex.lyx \ + templates/agu_article.lyx \ + templates/beamer-conference-ornate-20min.lyx \ + templates/biblioExample.bib \ + templates/CV-image.eps \ + templates/CV-image.png \ + templates/de_beamer-conference-ornate-20min.lyx \ templates/dinbrief.lyx \ templates/docbook_article.lyx \ templates/elsart.lyx \ + templates/europeCV.lyx \ + templates/fr_beamer-conference-ornate-20min.lyx \ + templates/g-brief2.lyx \ templates/g-brief-de.lyx \ templates/g-brief-en.lyx \ templates/hollywood.lyx \ + templates/ijmpc.lyx \ + templates/ijmpd.lyx \ templates/kluwer.lyx \ templates/koma-letter2.lyx \ templates/latex8.lyx \ templates/letter.lyx \ - templates/linuxdoc_article.lyx \ + templates/modernCV.lyx \ templates/revtex.lyx \ templates/revtex4.lyx \ - templates/slides.lyx \ - templates/ijmpd.lyx \ - templates/agu_article.lyx + templates/slides.lyx texdir = $(pkgdatadir)/tex -tex_DATA = \ +dist_tex_DATA = \ tex/broadway.cls \ tex/cv.cls \ tex/hollywood.cls \ @@ -893,39 +1033,14 @@ tex_DATA = \ tex/revtex.cls uidir = $(pkgdatadir)/ui -ui_DATA = \ +dist_ui_DATA = \ ui/classic.ui \ ui/default.ui \ - ui/stdmenus.ui \ - ui/stdtoolbars.ui - -$(srcdir)/configure: $(srcdir)/configure.m4 - $(M4) $< > $@ - $(CHMOD) 755 $@ - -lyxrc.defaults: $(srcdir)/configure - $(SHELL) $< - -install-xfonts: - test -f xfonts/fonts.dir || exit 0 ; \ - $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/xfonts ; \ - files=`sed -e 's/^[0-9]*$$//' -e 's/^\([^ ]*\) .*$$/\1/' xfonts/fonts.dir` ; \ - for i in $${files} ; do \ - ln -f -s `kpsewhich $$i` $(DESTDIR)$(pkgdatadir)/xfonts/$$i ; \ - done ; \ - $(INSTALL_DATA) xfonts/fonts.dir $(DESTDIR)$(pkgdatadir)/xfonts/fonts.dir ; \ - $(INSTALL_DATA) xfonts/fonts.scale $(DESTDIR)$(pkgdatadir)/xfonts/fonts.scale ; \ - if test -f xfonts/PSres.upr ; then \ - $(INSTALL_DATA) xfonts/PSres.upr $(DESTDIR)$(pkgdatadir)/xfonts/PSres.upr ; \ - fi - -uninstall-xfonts: - rm -rf $(DESTDIR)$(pkgdatadir)/xfonts - -distclean-local: - rm -rf xfonts - -install-data-local: install-xfonts - + ui/stdmenus.inc \ + ui/stdtoolbars.inc -uninstall-local: uninstall-xfonts +install-data-hook: + $(CHMOD) 755 $(DESTDIR)$(pkgdatadir)/configure.py + for i in $(dist_scripts_PYTHON); do \ + $(CHMOD) 755 $(DESTDIR)$(pkgdatadir)/$$i; \ + done