~ubuntu-core-doc/gnome-user-docs/ubuntu-karmic

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Matthew East
  • Date: 2009-10-01 21:21:49 UTC
  • mfrom: (1186.1.3 gnome-user-docs)
  • Revision ID: mdke@ubuntu.com-20091001212149-d67esgxcudhdkplj
Merge from lp:~vorlon/gnome-user-docs/ubuntu-karmic, manually merge two changelog entries

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 
19
19
clean::
20
20
        @echo "---"
21
 
        @echo "Version should start with: `grep AC_INIT configure.in | cut -d'[' -f3 | cut -d']' -f1`+git`head -n1 ChangeLog | cut -d' ' -f1 | sed s'/\-//g'` (add 'ubuntu<n>' as necessary)"
 
21
        @echo "Version should start with: `grep AC_INIT configure.in | cut -d'[' -f3 | cut -d']' -f1`+svn`head -n1 ChangeLog | cut -d' ' -f1 | sed s'/\-//g'` (add 'ubuntu<n>' as necessary)"
22
22
        @echo "---"
23
23
        rm -f debian/gnome-user-guide.links
24
24
        rm -f debian/gnome-user-guide-*.install
42
42
        for lang in $$(for ll in $$(sed -n -e's/^DOC_LINGUAS[[:space:]]*=[[:space:]]*//p' gnome2-*-guide/Makefile.am); \
43
43
                       do echo $$ll; done | sed -e's/_.*//' | sort -u); \
44
44
        do \
45
 
                name=$$(sed -n -e"/^#/d; s/;.*//; /\([[:space:]]\|^\)$$lang[[:space:]]/p" /usr/share/xml/iso-codes/iso_639.xml |cut -f4-); \
 
45
                name=$$(isoquery -i 639 $$lang | sed -e's/;.*//' | cut -f4-); \
46
46
                sed -e"s/\$${ll}/$$lang/; s/\$${lang}/$$name/;" debian/control.lang; \
47
47
        done) > debian/control.new
48
48
        mv debian/control.new debian/control