~ubuntu-branches/ubuntu/dapper/ttf-freefont/dapper

« back to all changes in this revision

Viewing changes to debian/scripts/stripfonts.sh

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2006-03-22 19:30:14 UTC
  • mfrom: (0.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20060322193014-1iqcijsk0tfp6ynn
Tags: 20060126b-2ubuntu1
* Merge with current Debian package, bringing in upstream font fixes.
* Hack around our broken cdbs (which always produces "optional" udebs)
  by hardcoding the priority in the control file for ttf-freefont-udeb.
* Add the missing cdbs build-depedency to debian/control (bug filed)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
STRIPFONT=$(pwd)/debian/scripts/FreeSans-strip
 
4
SRC="TTF"
 
5
TARGET="TTF-stripped"
 
6
FONTPAT="FreeSans*.ttf"
 
7
test ! -d ${TARGET} && mkdir ${TARGET}
 
8
 
 
9
FONTS=`cd ${SRC} && find . -name "${FONTPAT}"`
 
10
for font in ${FONTS}; do
 
11
        echo $font
 
12
        (cd ${TARGET} && ${STRIPFONT} ../${SRC}/${font} $font)
 
13
done