[cylc] 07/07: Fix syntax in rules file

Alastair McKinstry mckinstry at moszumanska.debian.org
Wed Sep 20 15:23:22 UTC 2017


This is an automated email from the git hooks/post-receive script.

mckinstry pushed a commit to branch debian/master
in repository cylc.

commit 60114422d6832c18fd2946a5b3cc7508fb01ffbf
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Fri Sep 15 16:23:05 2017 +0100

    Fix syntax in rules file
---
 debian/changelog | 6 ++++++
 debian/rules     | 9 ++++-----
 2 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 5229312..75a2489 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+cylc (7.5.0-3) unstable; urgency=medium
+
+  * Fix syntax in rules file
+
+ -- Alastair McKinstry <mckinstry at debian.org>  Fri, 15 Sep 2017 16:22:47 +0100
+
 cylc (7.5.0-2) unstable; urgency=medium
 
   * Fix for FTBFS on arch-only builds. 
diff --git a/debian/rules b/debian/rules
index 808df5f..c4b7a50 100755
--- a/debian/rules
+++ b/debian/rules
@@ -26,11 +26,10 @@ override_dh_auto_install:
 	install    -m 0644 conf/cylc-mode.el \
                            $(CURDIR)/debian/cylc-el/usr/share/emacs/site-lisp/cylc/cylc-mode.el
 	# Do this part if full build (not just arch-dependent)
-	[ -d $(CURDIR)/debian/cylc ] && (  \
-	install  -m 0755 debian/cylc.py  \
-			$(CURDIR)/debian/cylc/usr/share/cylc/bin/cylc  ; \
-	install -m 0644 images/icon.png $(CURDIR)/debian/cylc/usr/share/pixmaps/cylc.png ; \
-		)
+
+override_dh_auto_install-arch:
+	install  -m 0755 debian/cylc.py   $(CURDIR)/debian/cylc/usr/share/cylc/bin/cylc  
+	install -m 0644 images/icon.png $(CURDIR)/debian/cylc/usr/share/pixmaps/cylc.png
 
 override_dh_fixperms:
 	# Delete after install. Use packages instead.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/cylc.git



More information about the debian-science-commits mailing list