Author: plessy Date: 2012-02-02 04:54:10 +0000 (Thu, 02 Feb 2012) New Revision: 9540
Modified: trunk/packages/mummer/trunk/debian/changelog trunk/packages/mummer/trunk/debian/rules Log: Support DEB_BUILD_OPTIONS via Debhelper. (More changes are probably needed). Modified: trunk/packages/mummer/trunk/debian/changelog =================================================================== --- trunk/packages/mummer/trunk/debian/changelog 2012-02-02 04:51:03 UTC (rev 9539) +++ trunk/packages/mummer/trunk/debian/changelog 2012-02-02 04:54:10 UTC (rev 9540) @@ -5,6 +5,7 @@ * Corrected VCS URLs (debian/control). * Conforms to Policy 3.9.2 (debian/control, no other changes needed). * Using Debhelper 8 (debian/control, debian/compat). + * Support DEB_BUILD_OPTIONS via Debhelper (debian/rules). -- Charles Plessy <[email protected]> Thu, 02 Feb 2012 12:59:31 +0900 Modified: trunk/packages/mummer/trunk/debian/rules =================================================================== --- trunk/packages/mummer/trunk/debian/rules 2012-02-02 04:51:03 UTC (rev 9539) +++ trunk/packages/mummer/trunk/debian/rules 2012-02-02 04:54:10 UTC (rev 9540) @@ -2,33 +2,6 @@ include /usr/share/quilt/quilt.make -# Pasted from Policy §10.1 -CC = gcc -CFLAGS = -O2 -g -Wall # sane warning options vary between programs -LDFLAGS = # none -INSTALL = install -s # (or use strip on the files in debian/tmp) - -# Pasted from Policy §4.9.1 -CFLAGS = -Wall -g -INSTALL = install -INSTALL_FILE = $(INSTALL) -p -o root -g root -m 644 -INSTALL_PROGRAM = $(INSTALL) -p -o root -g root -m 755 -INSTALL_SCRIPT = $(INSTALL) -p -o root -g root -m 755 -INSTALL_DIR = $(INSTALL) -p -d -o root -g root -m 755 - -ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS))) - CFLAGS += -O0 -else - CFLAGS += -O2 -endif -ifeq (,$(filter nostrip,$(DEB_BUILD_OPTIONS))) - INSTALL_PROGRAM += -s -endif -ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) - NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) - MAKEFLAGS += -j$(NUMJOBS) -endif - build: # ... ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) _______________________________________________ debian-med-commit mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit
