auto generate an ubuntu-dark profile

This commit is contained in:
Dustin Kirkland 2009-01-26 15:20:44 -06:00
commit b30ec11363
2 changed files with 6 additions and 0 deletions

1
debian/install vendored
View file

@ -8,6 +8,7 @@ bin/release usr/share/screen-profiles/bin
bin/updates-available usr/share/screen-profiles/bin bin/updates-available usr/share/screen-profiles/bin
profiles/common usr/share/screen-profiles/profiles profiles/common usr/share/screen-profiles/profiles
profiles/ubuntu usr/share/screen-profiles/profiles profiles/ubuntu usr/share/screen-profiles/profiles
profiles/ubuntu-dark usr/share/screen-profiles/profiles
keybindings/common usr/share/screen-profiles/keybindings keybindings/common usr/share/screen-profiles/keybindings
windows/common usr/share/screen-profiles/windows windows/common usr/share/screen-profiles/windows
select-screen-profile usr/bin select-screen-profile usr/bin

5
debian/rules vendored
View file

@ -10,6 +10,11 @@ VER=`head -n 1 debian/changelog | sed 's/^.*(//' | sed 's/).*//' | sed 's/-.*//'
get-orig-source: get-orig-source:
dh_testdir dh_testdir
-[ -d ../${PACKAGE} ] && mv ../${PACKAGE} ../${PACKAGE}-${VER} -[ -d ../${PACKAGE} ] && mv ../${PACKAGE} ../${PACKAGE}-${VER}
# auto-generate ubuntu-dark profile
cp -f profiles/ubuntu profiles/ubuntu-dark
grep "^caption " profiles/common >> profiles/ubuntu-dark
sed -i "s/ Wk/ Kw/g" profiles/ubuntu-dark
sed -i "s/kW/wK/g" profiles/ubuntu-dark
tar -C ../ --exclude .bzr --exclude debian -zcvf ../${PACKAGE}_${VER}.orig.tar.gz ${PACKAGE}-${VER} tar -C ../ --exclude .bzr --exclude debian -zcvf ../${PACKAGE}_${VER}.orig.tar.gz ${PACKAGE}-${VER}
prebuild: prebuild: