~ubuntu-branches/ubuntu/utopic/checkpolicy/utopic-proposed

« back to all changes in this revision

Viewing changes to debian/common/debconf.mk

  • Committer: Package Import Robot
  • Author(s): Laurent Bigonville
  • Date: 2012-03-27 20:22:24 UTC
  • Revision ID: package-import@ubuntu.com-20120327202224-wcmz9qko6u35sqkd
Tags: 2.1.8-2
* Team upload.
* Switch to debhelper sequence
* debian/control:
  - Bump Standards-Version to 3.9.3
  - Add Homepage field
  - Update Vcs-* fields
  - Make checkpolicy arch linux-any
  - Put under the Debian SELinux team maintenance
* Add debian/gbp.conf file
* debian/rules: Append CPPFLAGS hardening flags to CFLAGS as build system is
  not using CPPFLAGS

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
############################ -*- Mode: Makefile -*- ###########################
2
 
## debconf.mk --- 
3
 
## Author           : Manoj Srivastava ( srivasta@glaurung.internal.golden-gryphon.com ) 
4
 
## Created On       : Fri Mar 12 11:11:31 2004
5
 
## Created On Node  : glaurung.internal.golden-gryphon.com
6
 
## Last Modified By : Manoj Srivastava
7
 
## Last Modified On : Mon Apr 11 13:19:10 2005
8
 
## Last Machine Used: glaurung.internal.golden-gryphon.com
9
 
## Update Count     : 20
10
 
## Status           : Unknown, Use with caution!
11
 
## HISTORY          : 
12
 
## Description      : helps with using debconf
13
 
## 
14
 
## arch-tag: 32b933a9-05ad-4c03-97a8-8644745b832a
15
 
##
16
 
###############################################################################
17
 
 
18
 
# The idea behind this scheme is that the maintainer (or whoever's
19
 
# building the package for upload to unstable) has to build on a
20
 
# machine with po-debconf installed, but nobody else does.
21
 
 
22
 
# Also, make sure that debian/control has ${debconf-depends} in the
23
 
# appropriate Depends: line., and use the following in the binary
24
 
# target:
25
 
#  dpkg-gencontrol -V'debconf-depends=debconf (>= $(MINDEBCONFVER))'
26
 
#
27
 
 
28
 
# WARNING!! You need to create the debian/templates file before this
29
 
# all works.
30
 
 
31
 
# Run debconf-updatepo whenever the template file changes.
32
 
# the tool podebconf-report-po is also a great friend to have in such
33
 
# circumstances 
34
 
define CHECKPO
35
 
        @for i in debian/po/*.po; do                         \
36
 
          if [ -f $$i ]; then                        \
37
 
            echo \"Checking: $$i\";                  \
38
 
            msgmerge -U $$i debian/po/templates.pot;        \
39
 
            msgfmt -o /dev/null -c --statistics $$i; \
40
 
          fi;                                        \
41
 
        done
42
 
endef