X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2FMakefile.am;h=fa7ef539d9ba2e3e41e7c383cfab333c7ce280b4;hb=0751f96d25e8723e15c2025fec749d9049db271d;hp=e5d45579e65f786f7300ce5cead63bb7935303ad;hpb=1d266c8cfa06d15967dbbe4b186eb72d323cb1d4;p=lyx.git diff --git a/lib/Makefile.am b/lib/Makefile.am index e5d45579e6..fa7ef539d9 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -313,6 +313,7 @@ dist_examples_DATA = \ 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 \ @@ -2046,6 +2047,7 @@ dist_layouts_DATA =\ 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 \ @@ -2054,6 +2056,7 @@ dist_layouts_DATA =\ layouts/initials.module \ layouts/iopart.layout \ layouts/isprs.layout \ + layouts/iucr.layout \ layouts/jarticle.layout \ layouts/jasatex.layout \ layouts/jbook.layout \ @@ -2240,6 +2243,7 @@ dist_templates_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 \ @@ -2308,11 +2312,52 @@ CLEANFILES += lyx@program_suffix@.desktop lyx.desktop-temp \ 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