1
############################ -*- Mode: Makefile -*- ###########################
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
10
## Status : Unknown, Use with caution!
12
## Description : helps with using debconf
14
## arch-tag: 32b933a9-05ad-4c03-97a8-8644745b832a
16
###############################################################################
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.
22
# Also, make sure that debian/control has ${debconf-depends} in the
23
# appropriate Depends: line., and use the following in the binary
25
# dpkg-gencontrol -V'debconf-depends=debconf (>= $(MINDEBCONFVER))'
28
# WARNING!! You need to create the debian/templates file before this
31
# Run debconf-updatepo whenever the template file changes.
32
# the tool podebconf-report-po is also a great friend to have in such
35
@for i in debian/po/*.po; do \
37
echo \"Checking: $$i\"; \
38
msgmerge -U $$i debian/po/templates.pot; \
39
msgfmt -o /dev/null -c --statistics $$i; \