~ubuntu-branches/ubuntu/feisty/basilisk2/feisty

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Jonas Smedegaard
  • Date: 2006-06-01 01:11:16 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060601011116-xjhegbgyfsxag5fl
Tags: 0.9.20060529-1
* New upstream CVS snapshot.
* Update local cdbs snippet copyright-check.mk:
  + Broaden scan to also look for "(c)" by default.
  + Make egrep options configurable.
  + Ignore auto-tools files.
* Bump up standards-version to 3.7.2 (no changes needed).
* Let dh_strip do the stripping (not the make install target).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
2
# -*- mode: makefile; coding: utf-8 -*-
3
 
# Copyright © 2003-2005 Jonas Smedegaard <dr@jones.dk>
 
3
# Copyright © 2003-2006 Jonas Smedegaard <dr@jones.dk>
4
4
 
5
 
ifneq (,$(findstring update,$(DEB_BUILD_OPTIONS)))
6
 
DEB_AUTO_UPDATE_DEBIAN_CONTROL = 1
7
 
endif
 
5
include debian/cdbs/1/rules/auto-update.mk
8
6
ifneq (,$(findstring init,$(DEB_BUILD_OPTIONS)))
9
7
#DEB_AUTO_UPDATE_ACLOCAL = 1.9
10
8
#DEB_AUTO_UPDATE_AUTOHEADER = 2.50
11
9
#DEB_AUTO_UPDATE_AUTOCONF = 2.50
12
10
endif
13
 
 
14
11
include /usr/share/cdbs/1/class/autotools.mk
15
12
include /usr/share/cdbs/1/rules/debhelper.mk
16
13
include /usr/share/cdbs/1/rules/simple-patchsys.mk
33
30
# Don't know why, but upstream added this and it seems to be needed
34
31
#CXXFLAGS += -fno-merge-constants
35
32
 
 
33
# Let dh_strip strip binaries as needed
 
34
DEB_MAKE_ENVVARS = INSTALL_PROGRAM="install"
 
35
 
36
36
ifeq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
37
37
DEB_CONFIGURE_USER_FLAGS += --without-mon
38
38
endif
62
62
        cd $(DEB_SRCDIR) && rm -rf autom4te.cache
63
63
 
64
64
autogen: ultraclean
65
 
        cd $(DEB_SRCDIR) && autoreconf -i -v
 
65
        cd $(DEB_SRCDIR) && ACLOCAL_FLAGS="-I m4" NO_CONFIGURE="yes" ./autogen.sh
66
66
 
67
67
DEB_PHONY_RULES += ultraclean autogen
68
68
endif