~ubuntu-branches/ubuntu/hardy/moin/hardy

« back to all changes in this revision

Viewing changes to debian/cdbs/1/rules/auto-update.mk

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook
  • Date: 2007-05-14 15:55:15 UTC
  • mfrom: (0.4.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20070514155515-apl4srcch40h9fcx
Tags: 1.5.7-3ubuntu1
* Merge from debian unstable, remaining changes:
  - 11000_show_traceback_toggle.patch: allow for 'show_traceback=0' in
    Moin configurations.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# -*- mode: makefile; coding: utf-8 -*-
2
 
# Copyright © 2005-2006 Jonas Smedegaard <dr@jones.dk>
3
 
# Description: Auto-update debian/control from debian/control.in
4
 
#  When the environment variable DEB_BUILD_OPTIONS contains the magic
5
 
#  string "update" the clean target is extended to auto-update
6
 
#  debian/control from debian/control.in where build-depends can contain
7
 
#  the magic string @cdbs@ expanded to build-dependencies known to cdbs,
8
 
#  and more...
9
 
#
10
 
#  In other words, with this in use don't edit debian/control directly,
11
 
#  but instead edit debian/control.in and invoke the following:
12
 
#    DEB_BUILD_OPTIONS=update fakeroot debian/rules clean
13
 
#
14
 
# This program is free software; you can redistribute it and/or
15
 
# modify it under the terms of the GNU General Public License as
16
 
# published by the Free Software Foundation; either version 2, or (at
17
 
# your option) any later version.
18
 
#
19
 
# This program is distributed in the hope that it will be useful, but
20
 
# WITHOUT ANY WARRANTY; without even the implied warranty of
21
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
22
 
# General Public License for more details.
23
 
#
24
 
# You should have received a copy of the GNU General Public License
25
 
# along with this program; if not, write to the Free Software
26
 
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
27
 
# 02111-1307 USA.
28
 
 
29
 
ifndef _cdbs_bootstrap
30
 
_cdbs_scripts_path ?= /usr/lib/cdbs
31
 
_cdbs_rules_path ?= /usr/share/cdbs/1/rules
32
 
_cdbs_class_path ?= /usr/share/cdbs/1/class
33
 
endif
34
 
 
35
 
ifndef _cdbs_rules_auto-update
36
 
_cdbs_rules_auto-update := 1
37
 
 
38
 
ifneq (,$(findstring update,$(DEB_BUILD_OPTIONS)))
39
 
DEB_AUTO_UPDATE_DEBIAN_CONTROL := yes
40
 
endif
41
 
 
42
 
# Avoid build-dependency on build-essential (to please ftpmasters)
43
 
CDBS_BUILD_DEPENDS :=
44
 
endif