Mercurial > hg > octave-avbm
changeset 5468:41943dd8d7d8
[project @ 2005-09-23 18:34:46 by jwe]
author | jwe |
---|---|
date | Fri, 23 Sep 2005 18:34:47 +0000 |
parents | 66ec063e2f4f |
children | 7e3bb47187f8 |
files | ChangeLog Makeconf.in aclocal.m4 configure.in examples/Makefile.in examples/octave-sombrero.png src/Makefile.in |
diffstat | 7 files changed, 27 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2005-09-23 John W. Eaton <jwe@octave.org> + * examples/Makefile.in (install install-strip): + Conditionally install octave.desktop. + * aclocal.m4 (OCTAVE_PROG_DESKTOP_FILE_INSTALL): New macro + * configure.in: Use it. + * Makeconf.in: Substitute DESKTOP_FILE_INSTALL. + * octave.desktop.in: New file. From Soren Hauberg <soren@hauberg.org>. * examples/Makefile.in (SOURCES): Add it to the list. (octave.desktop): New target.
--- a/Makeconf.in +++ b/Makeconf.in @@ -17,6 +17,8 @@ PERL = @PERL@ +DESKTOP_FILE_INSTALL = @DESKTOP_FILE_INSTALL@ + # A shell command to extract the version number from version.h. getversion = $(SED) -e '/OCTAVE_VERSION/!d' -e 's/.*"\(.*\)".*$$/\1/' -e q
--- a/aclocal.m4 +++ b/aclocal.m4 @@ -812,12 +812,20 @@ dnl dnl OCTAVE_PROG_PERL AC_DEFUN(OCTAVE_PROG_PERL, -[AC_CHECK_PROG(PERL, ${ac_tool_prefix}perl, ${ac_tool_prefix}perl, []) +[AC_CHECK_PROG(PERL, perl, perl, []) AC_SUBST(PERL) ]) -# OCTAVE_IEEE754_DATA_FORMAT -# -------------- -# Check for IEEE 754 data format. +dnl +dnl Find desktop-file-install. +dnl +dnl OCTAVE_PROG_DESKTOP_FILE_INSTALL +AC_DEFUN(OCTAVE_PROG_DESKTOP_FILE_INSTALL, +[AC_CHECK_PROG(DESKTOP_FILE_INSTALL, desktop-file-install, desktop-file-install, []) + AC_SUBST(DESKTOP_FILE_INSTALL) +]) +dnl +dnl Check for IEEE 754 data format. +dnl AC_DEFUN([OCTAVE_IEEE754_DATA_FORMAT], [AC_MSG_CHECKING([for IEEE 754 data format]) AC_CACHE_VAL(octave_cv_ieee754_data_format,
--- a/configure.in +++ b/configure.in @@ -29,7 +29,7 @@ EXTERN_CXXFLAGS="$CXXFLAGS" AC_INIT -AC_REVISION($Revision: 1.482 $) +AC_REVISION($Revision: 1.483 $) AC_PREREQ(2.57) AC_CONFIG_SRCDIR([src/octave.cc]) AC_CONFIG_HEADER(config.h) @@ -1511,6 +1511,8 @@ INSTALL_SCRIPT='${INSTALL}' AC_SUBST(INSTALL_SCRIPT) +OCTAVE_PROG_DESKTOP_FILE_INSTALL + OCTAVE_PROG_GNUPLOT OCTAVE_PROG_PAGER OCTAVE_PROG_GPERF
--- a/examples/Makefile.in +++ b/examples/Makefile.in @@ -40,6 +40,9 @@ $(top_srcdir)/move-if-change $@-t $@ install install-strip: + if test -n "$(DESKTOP_FILE_INSTALL)"; then \ + $(DESKTOP_FILE_INSTALL) --vendor www.octave.org octave.desktop; \ + fi for f in $(SCRIPTS); do \ $(INSTALL_SCRIPT) $(srcdir)/$$f $(DESTDIR)$(archlibdir)/$$f; \ done
new file mode 100644 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..1e5f9a1b0717704ad197b8e38e72fa45ddf8455c GIT binary patch literal 6014 zc$^hj2{_Yl99Id62su;IV#&FLBFlZ|7@<|}D~58ETR9Sv5NpnIFE=4%LK4fJ&>YE~ z>+jAn{$G0@=9%C2d*AQ-ITvA|r@_p~%Sb~*!>pyLih*Y={2&?V;CG<%!Z&!Lv)0j2 zr75NPNwex>{9qqmIrc#Fwg(N(arT3sLo`V#-0&j3r`An1`ab$oOdRJV`K=deXt<7R zsVW&ejw~ekJ-Fjgy%-dinCP;Vk!+_`DcZWC_Q>CjO;~R}=YD*pR&Qg<v8=4*SGu!2 zZ^Oxhy=jL|%pdW5cHP0~SwPN*8&7AMx)OW%O5%lFw0ots=D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i;?-R^K6R9^WWdF&&-EHI|mGsW7kMvL|lsn+BriO-~D8?&eV`Bxq zvp<j=jCKwV!k`-mWdo+sGkZ|!QxpSuq1P=e*xB0BhABTBpJIbcpdS5xAeWby_q(ua z#2O+8L-6NnkLiJO2NnqO(E3RppvL!tn5(_fC#m6Gqh9^@g!22G?n8!z=%QYM6{{I` z)$#CHy&leTwkRnz^#TXuWWe*ODf<!cac0Oh`^~39`A+GHBtYAloQ{T11%LZwE)k(> zz4(;=%m507D*GP(TRrqWX`i};UfZ54me7eqFf%b}0z!HwCbB#ieqFg3tEnkL`j;V% zMoU0to(1<$xGRo7_@Yw>FRs<p)D$<mga`M{a_%qE^6>D8?F`%~uQ-d^X`wDhTI~Me z+OMszN1xY<gJdUsui9NLDJA7Kgz7Bt-`Q-ud0a+!9!FGjmP2}g3HJ8wShk4JwH302 zPN|tLW0-Qa-%{P?OP0ai$8W2usum-J)4U-Q*?Ux{cusxixo>HCW5rt`u5&uR=w7W* z-PTkxMkqdZ$hGPqs_4vmVtM)a;?D%Eb?>jA3)xpXt?2Jfi3!>rXNPc|teu@@vA^Aa z@V%|Hy!<7I3ff?!JruWku?uX+W*4ePI~2BOGSdSj+~eob$H&rlCxok9hHKXAM;}pK zc2o^TYo*k65NtE+zPo`zj~+eRNCrFfo2VN|pGV&b#lL>d!GF!uasT?}kVk)GqjLBl t&b2;}y6x;%Pu*y$r!Ke^*O~5Y*HeCfz0=JSf0+gzT55W#Maq`J{{vIH>Z||&
--- a/src/Makefile.in +++ b/src/Makefile.in @@ -547,7 +547,7 @@ oct-errno.cc: oct-errno.cc.in ../Makeconf Makefile @echo "making $@ from $<" - if test -n "$(PERL)"; then \ + @if test -n "$(PERL)"; then \ $(PERL) -e 'foreach $$key (keys(%!)) { $$x .= "#if defined ($$key)\n { \"$$key\", $$key, },\n#endif\n"; }; while (<>) { s/^ *\@SYSDEP_ERRNO_LIST\@/$$x/; print; }' $< > $@.t; \ else \ $(SED) '/@SYSDEP_ERRNO_LIST@/D' $< > $@.t; \