[Pkg-octave-commit] r1103 - octave/trunk/debian
Rafael Laboissiere
rafael at alioth.debian.org
Tue Dec 18 14:16:27 UTC 2007
Author: rafael
Date: 2007-12-18 14:16:27 +0000 (Tue, 18 Dec 2007)
New Revision: 1103
Modified:
octave/trunk/debian/changelog
octave/trunk/debian/rules
Log:
Make sure that the octave.desktop.in exists before manipulating/moving it
Modified: octave/trunk/debian/changelog
===================================================================
--- octave/trunk/debian/changelog 2007-12-18 09:04:02 UTC (rev 1102)
+++ octave/trunk/debian/changelog 2007-12-18 14:16:27 UTC (rev 1103)
@@ -9,8 +9,10 @@
* debian/in/PACKAGE-info.prerm: Fixed a typo that was preventing the
*octave<version> info files from being removed by "install-info
--remove" (closes: #456636)
+ * debian/rules: Make sure that the octave.desktop.in exists before
+ manipulating/moving it
- -- Rafael Laboissiere <rafael at debian.org> Tue, 18 Dec 2007 09:55:13 +0100
+ -- Rafael Laboissiere <rafael at debian.org> Tue, 18 Dec 2007 15:11:46 +0100
octave2.9 (1:2.9.19-1) unstable; urgency=low
Modified: octave/trunk/debian/rules
===================================================================
--- octave/trunk/debian/rules 2007-12-18 09:04:02 UTC (rev 1102)
+++ octave/trunk/debian/rules 2007-12-18 14:16:27 UTC (rev 1103)
@@ -127,8 +127,8 @@
.PHONY: save-files
save-files:
- for f in $(savefiles) $(texifiles) ; do \
- cp $$f $$f-save ; \
+ for f in $(savefiles) $(texifiles) ; do \
+ test -f $$f && cp $$f $$f-save ; \
done
configure: maintainer-scripts save-files patch-stamp configure-stamp
@@ -138,8 +138,9 @@
[ -f autogen.sh ] && ./autogen.sh && chmod 0755 configure
# Patch desktop file such that the referenced command exists
- perl -pi -e 's:/bin/octave:/bin/octave-$(version):' \
- examples/octave.desktop.in
+ test -f examples/octave.desktop.in \
+ && perl -pi -e 's:/bin/octave:/bin/octave-$(version):' \
+ examples/octave.desktop.in
DEFAULT_PAGER=pager \
CC=$(c_compiler) \
More information about the Pkg-octave-commit
mailing list