# HG changeset patch # User jwe # Date 1127493750 0 # Node ID 6a4f8772393293f2f1a8308e55d38b8cb0b2d52b # Parent d6163c0effd5084829b3481bd5caf1a9e82bf6b6 [project @ 2005-09-23 16:42:30 by jwe] diff -r d6163c0effd5 -r 6a4f87723932 ChangeLog --- a/ChangeLog Fri Sep 23 15:42:49 2005 +0000 +++ b/ChangeLog Fri Sep 23 16:42:30 2005 +0000 @@ -1,3 +1,10 @@ +2005-09-23 John W. Eaton + + * octave.desktop.in: New file. From Soren Hauberg . + * examples/Makefile.in (SOURCES): Add it to the list. + (octave.desktop): New target. + (all): Depend on octave.desktop. + 2005-09-22 John W. Eaton * aclocal.m4 (OCTAVE_PROG_PERL): New macro. diff -r d6163c0effd5 -r 6a4f87723932 examples/Makefile.in --- a/examples/Makefile.in Fri Sep 23 15:42:49 2005 +0000 +++ b/examples/Makefile.in Fri Sep 23 16:42:30 2005 +0000 @@ -21,17 +21,24 @@ SCRIPTS = info-emacs-info info-emacs-octave-help -SOURCES = hello.cc oregonator.m oregonator.cc make_int.cc +SOURCES = hello.cc oregonator.m oregonator.cc make_int.cc octave.desktop.in -DISTFILES = Makefile.in $(SOURCES) $(SCRIPTS) +DISTFILES = Makefile.in $(SOURCES) $(SCRIPTS) octave.desktop SUBDIRS = DISTSUBDIRS = -all: +all: octave.desktop .PHONY: all +octave.desktop: octave.desktop.in Makefile ../Makeconf + echo "making $@ from $<" + $(SED) < $< > $@-t \ + -e "s|%OCTAVE_IMAGEDIR%|${imagedir}|" \ + -e "s|%OCTAVE_PREFIX%|${prefix}|" + $(top_srcdir)/move-if-change $@-t $@ + install install-strip: for f in $(SCRIPTS); do \ $(INSTALL_SCRIPT) $(srcdir)/$$f $(DESTDIR)$(archlibdir)/$$f; \ diff -r d6163c0effd5 -r 6a4f87723932 examples/octave.desktop.in --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/examples/octave.desktop.in Fri Sep 23 16:42:30 2005 +0000 @@ -0,0 +1,11 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=GNU Octave +Comment=Scientific Computing using GNU Octave +TryExec=%OCTAVE_PREFIX%/bin/octave +Exec=%OCTAVE_PREFIX%/bin/octave +Icon=%OCTAVE_IMAGEDIR%/octave-sombrero.png +Terminal=true +Type=Application +Categories=Development; Science; +StartupNotify=false