[ompl] 08/09: Some clean statements in rules

Leopold Palomo-Avellaneda leo at alaxarxa.net
Thu Apr 28 08:19:28 UTC 2016


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

lepalom-guest pushed a commit to branch master
in repository ompl.

commit 56d228807d22bd0869d4a4333bb769b6ae941d48
Author: Leopold Palomo-Avellaneda <leo at alaxarxa.net>
Date:   Thu Apr 28 10:06:26 2016 +0200

    Some clean statements in rules
---
 debian/rules | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index fdd2507..46bb75d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -38,14 +38,16 @@ CMAKE_FLAGS = \
 	dh $@ --builddirectory=build --buildsystem=cmake --parallel
 
 override_dh_clean:
+ifneq ("$(wildcard $(build/bindings_generator.py))","")
+	rm -rf py-bindings/ompl/bindings_generator.py*
+	mv build/bindings_generator.py py-bindings/ompl/
+endif
 	rm -rf build
 	rm -rf CMakeModules/ompl.pc
-	rm -rf py-bindings/ompl/bindings_generator.py*
 	rm -rf py-bindings/ompl/__init__.pyc
 	rm -rf .registered
 	rm -rf src/ompl/config.h
 	rm -rf tests/resources/config.h
-#	rm -rf doc/markdown/api_overview.md  
 	rm -rf doc/markdown/download.md
 	rm -rf doc/markdown/mainpage.md
 	rm -rf tests/BoostTestTeamCityReporter.h

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



More information about the debian-science-commits mailing list