[freecad] 01/01: Update debian/rules

Anton Gladky gladk at alioth.debian.org
Thu Sep 19 19:33:38 UTC 2013


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

gladk pushed a commit to branch master
in repository freecad.

commit b4b517efbc3347124499d255d9bc7701db868d56
Author: Boris Pek <tehnick-8 at yandex.ru>
Date:   Thu Sep 19 21:33:28 2013 +0200

    Update debian/rules
---
 debian/rules |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/debian/rules b/debian/rules
index f97c650..d5c7d42 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,8 @@
 %:
 	dh $@ --buildsystem=cmake --parallel
 
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
 extra_flags += \
 -DFREECAD_BUILD_DEBIAN=ON \
 -DCMAKE_CXX_FLAGS="-Wall -DHAVE_SWIG=1 -fpermissive $(shell dpkg-buildflags --get CXXFLAGS) $(shell dpkg-buildflags --get CPPFLAGS)" \
@@ -12,6 +14,7 @@ extra_flags += \
 
 override_dh_auto_configure:
 	dh_auto_configure -- $(extra_flags)
+	cp -f src/Build/Version.h obj-$(DEB_BUILD_GNU_TYPE)/src/Build/Version.h
 
 override_dh_compress:
 	dh_compress -X.qch -X.qhc

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



More information about the debian-science-commits mailing list