[SCM] FreeCAD packaging branch, master, updated. debian/0.11.3729.dfsg-1-19-ga14e0d5

Anton Gladky gladky.anton at gmail.com
Tue Jun 7 20:06:54 UTC 2011


The following commit has been merged in the master branch:
commit a14e0d52d19716229e36d1c706c8f83d002b030f
Author: Anton Gladky <gladky.anton at gmail.com>
Date:   Tue Jun 7 22:06:00 2011 +0200

    Update debian/rules.

diff --git a/debian/rules b/debian/rules
index 1804c6c..607341e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,26 +11,6 @@ MODULES = Part Mesh MeshPart PartDesign Sketcher Points Raytracing Image Drawing
 DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 
-CFLAGS = -Wall -g
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-	CFLAGS += -O0
-else
-	CFLAGS += -O2
-endif
-
-patch-stamp:
-	touch $@
-
-configure: autogen.sh patch-stamp
-	dh_testdir
-	for autotools_mod_file in `find . -name Makefile.in` aclocal.m4 \
-	    configure m4/libtool.m4 m4/ltmain.sh m4/ltoptions.m4 \
-	    m4/ltversion.m4 m4/lt~obsolete.m4; do \
-	  cp -a $$autotools_mod_file $$autotools_mod_file.setaside; \
-	done
-	chmod u+x autogen.sh
-	./autogen.sh
 
 config.status: configure
 	dh_testdir
@@ -39,9 +19,7 @@ config.status: configure
 --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
 --prefix=/usr/lib/freecad --mandir=/usr/share/man \
 --infodir=/usr/share/info --datadir=/usr/share/freecad \
---includedir=/usr/include/freecad --docdir=/usr/share/doc/freecad \
-CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
-	touch src/Build/Version.h
+--includedir=/usr/include/freecad --docdir=/usr/share/doc/freecad
 
 build: build-stamp
 

-- 
FreeCAD packaging



More information about the debian-science-commits mailing list