~ubuntu-branches/ubuntu/natty/kdeadmin/natty-proposed

« back to all changes in this revision

Viewing changes to ksysv/genui.sh

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghersi
  • Date: 2010-02-27 21:36:45 UTC
  • mfrom: (1.2.40 upstream)
  • Revision ID: james.westby@ubuntu.com-20100227213645-ronst6mahkgf6j9w
Tags: 4:4.4.1-0ubuntu1
* New upstream release
  - Bump build-depends
  - Update kcron.install

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh
2
 
 
3
 
UIC="uic -tr i18n"
4
 
PAGES="path misc lookandfeel"
5
 
WIZARDS="config"
6
 
OTHERS=""
7
 
 
8
 
for i in ${PAGES}; do
9
 
        ${UIC} -o ${i}config.h ${i}config.ui
10
 
        ${UIC} -o ${i}config.cpp -impl ${i}config.h ${i}config.ui
11
 
done
12
 
 
13
 
for i in ${WIZARDS}; do
14
 
        n="${i}wizard"
15
 
        ${UIC} -o ${n}.h ${n}.ui
16
 
        ${UIC} -o ${n}.cpp -impl ${n}.h ${n}.ui
17
 
 
18
 
        perl -pi -e "s/qwizard\.h/kwizard\.h/" ${n}.h
19
 
        perl -pi -e "s/QWizard/KWizard/" ${n}.{cpp,h}
20
 
done 
21
 
 
22
 
for i in ${OTHERS}; do
23
 
        ${UIC} -o ${i}.h ${i}.ui
24
 
        ${UIC} -o ${i}.cpp -impl ${i}.h ${i}.ui
25
 
done