~ubuntu-branches/ubuntu/precise/rpm/precise

« back to all changes in this revision

Viewing changes to popt/po/Rules-quot

  • Committer: Bazaar Package Importer
  • Author(s): Loic Minier
  • Date: 2008-12-21 17:49:23 UTC
  • Revision ID: james.westby@ubuntu.com-20081221174923-k9du2lfj9cotahku
Tags: 4.4.2.3-2
* Remove Anand Kumria from Uploader; thanks for your work!
* Add Vcs-Git and Vcs-Browser fields.
* Wrap build-deps and deps.
* Bump Standards-Version to 3.8.0.
* Drop obsolete debian/pycompat.
* Add debian/gbp.conf for git-buildpackage.
* New patch, 22_spelling-fixes, fixes typo in doc/rpm.8 man page; from
  Ubuntu; LP: #73355.
* Refresh patches 02-hkp-disable, 09-prereq, 14-work-on-debian64,
  17-dont-be-redhat, 21-kfreebsd to apply cleanly.
* Drop source-contains-CVS-dir lintian overrides as we use tarballs and we
  should make dist a tarball or at least a CVS export if we pull a snapshot.
* Build-dep on autotools-dev and drop outdated-autotools-helper-file lintian
  overrides.
* New patch, 40_fix-zlib-include-in-file, fixes zlib -I flag breaking the
  build of the internal "file" copy when relibtoolized.
* New patch, 50_internal-popt-config-flag, adds a --with-internal-popt
  configure flag to allow forcing the use of an external popt.
* New patch, 68_autogen-fixes, calls "autoreconf -fi" instead of
  ./autogen.sh in file/ and cleans up some junk files after the autogens
  (autom4te.cache and ~ backups).
* New patch, 70_autogen, run ./autogen --noconfigure.
* Pass --with-internal-popt=no to configure.
* Kill plenty of manual autotools cleanup from rules as well as popt
  removal.
* Drop autoconf/automake/libtoolize invocation from rules.
* Use "touch $@" instead of repeating target name.
* Don't duplicate the way to call quilt and pass it --quiltrc /dev/null.
* Pass -s to dh_* in binary-indep.
* Update download URL in copyright.
* Drop DH_VERBOSE=1.
* Set configure flags via a new var, configure_flags, and only pass --host
  to configure if DEB_HOST_GNU_TYPE and DEB_BUILD_GNU_TYPE differ.
* Drop obsolete README.Debian note related to rpm 4.1 behavior change.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Special Makefile rules for English message catalogs with quotation marks.
2
 
 
3
 
DISTFILES.common.extra1 = quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot
4
 
 
5
 
.SUFFIXES: .insert-header .po-update-en
6
 
 
7
 
en@quot.po-update: en@quot.po-update-en
8
 
en@boldquot.po-update: en@boldquot.po-update-en
9
 
 
10
 
.insert-header.po-update-en:
11
 
        @lang=`echo $@ | sed -e 's/\.po-update-en$$//'`; \
12
 
        if test "$(PACKAGE)" = "gettext"; then PATH=`pwd`/../src:$$PATH; GETTEXTLIBDIR=`cd $(top_srcdir)/src && pwd`; export GETTEXTLIBDIR; fi; \
13
 
        tmpdir=`pwd`; \
14
 
        echo "$$lang:"; \
15
 
        ll=`echo $$lang | sed -e 's/@.*//'`; \
16
 
        LC_ALL=C; export LC_ALL; \
17
 
        cd $(srcdir); \
18
 
        if $(MSGINIT) -i $(DOMAIN).pot --no-translator -l $$ll -o - 2>/dev/null | sed -f $$tmpdir/$$lang.insert-header | $(MSGCONV) -t UTF-8 | $(MSGFILTER) sed -f `echo $$lang | sed -e 's/.*@//'`.sed 2>/dev/null > $$tmpdir/$$lang.new.po; then \
19
 
          if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
20
 
            rm -f $$tmpdir/$$lang.new.po; \
21
 
          else \
22
 
            if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
23
 
              :; \
24
 
            else \
25
 
              echo "creation of $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
26
 
              exit 1; \
27
 
            fi; \
28
 
          fi; \
29
 
        else \
30
 
          echo "creation of $$lang.po failed!" 1>&2; \
31
 
          rm -f $$tmpdir/$$lang.new.po; \
32
 
        fi
33
 
 
34
 
en@quot.insert-header: insert-header.sin
35
 
        sed -e '/^#/d' -e 's/HEADER/en@quot.header/g' $(srcdir)/insert-header.sin > en@quot.insert-header
36
 
 
37
 
en@boldquot.insert-header: insert-header.sin
38
 
        sed -e '/^#/d' -e 's/HEADER/en@boldquot.header/g' $(srcdir)/insert-header.sin > en@boldquot.insert-header
39
 
 
40
 
mostlyclean: mostlyclean-quot
41
 
mostlyclean-quot:
42
 
        rm -f *.insert-header