[mythes] 04/09: include /usr/share/dpkg/buildflags.mk

Rene Engelhard rene at moszumanska.debian.org
Tue Sep 13 02:55:34 UTC 2016


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

rene pushed a commit to branch master
in repository mythes.

commit afa5a685e7951d5e38010b3c566d0112e9b843e4
Author: Rene Engelhard <rene at rene-engelhard.de>
Date:   Tue Sep 6 08:00:49 2016 +0200

    include /usr/share/dpkg/buildflags.mk
---
 debian/rules | 17 +----------------
 1 file changed, 1 insertion(+), 16 deletions(-)

diff --git a/debian/rules b/debian/rules
index 06c4911..62d555c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,22 +3,7 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-CFLAGS = -Wall -g
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-	CFLAGS += -O0
-else
-	CFLAGS += -O2
-endif
-
-# shared library versions, option 1
-version=2.0.5
-major=2
-# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so
-#version=`ls src/.libs/lib*.so.* | \
-# awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
-#major=`ls src/.libs/lib*.so.* | \
-# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
+include /usr/share/dpkg/buildflags.mk
 
 configure: configure-stamp
 configure-stamp:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-openoffice/mythes.git



More information about the Pkg-openoffice-commits mailing list