summaryrefslogtreecommitdiff
path: root/scripts/q_functions
authorkergoth <kergoth>2002-01-28 23:28:04 (UTC)
committer kergoth <kergoth>2002-01-28 23:28:04 (UTC)
commitf7b3193e5d2d9a211ce0b963dca571d82adecb71 (patch) (unidiff)
tree44f49bdc076dc299bba1a4dc8d5d517114be5701 /scripts/q_functions
parent77d110d35f75d63f5dc66c1dd2427daf7dc2e214 (diff)
downloadopie-f7b3193e5d2d9a211ce0b963dca571d82adecb71.zip
opie-f7b3193e5d2d9a211ce0b963dca571d82adecb71.tar.gz
opie-f7b3193e5d2d9a211ce0b963dca571d82adecb71.tar.bz2
Committing in .
Modified Files: configure mkipks addressbook/Makefile.in addressbook/addressbook.pro calc2/calc.pro calc2/binary/binary.pro calc2/simple/simple.pro calculator/Makefile.in calculator/calculator.pro cardmon/Makefile.in cardmon/cardmon.pro chess/chess.pro citytime/Makefile.in citytime/citytime.pro clock/Makefile.in clock/clock.pro datebook/Makefile.in datebook/datebook.pro dictionary/dictionary.pro doc/qcop.doc doc/start.doc embeddedkonsole/Makefile.in embeddedkonsole/embeddedkonsole.pro etc/init.d/qpe example/example.pro fifteen/Makefile.in fifteen/fifteen.pro filebrowser/Makefile.in filebrowser/filebrowser.pro freetype/freetype.pro go/Makefile.in go/go.pro helpbrowser/Makefile.in helpbrowser/helpbrowser.pro inputmethods/handwriting/Makefile.in inputmethods/handwriting/handwriting.pro inputmethods/keyboard/Makefile.in inputmethods/keyboard/keyboard.pro inputmethods/pickboard/Makefile.in inputmethods/pickboard/pickboard.pro inputmethods/unikeyboard/Makefile.in inputmethods/unikeyboard/unikeyboard.pro keypebble/Makefile.in keypebble/keypebble.pro library/Makefile.in library/global.cpp library/library.pro library/qpeapplication.cpp mindbreaker/Makefile.in mindbreaker/mindbreaker.pro minesweep/Makefile.in minesweep/minesweep.pro mpegplayer/Makefile.in mpegplayer/mpegplayer.pro mpegplayer/libflash/libflash.pro mpegplayer/libmad/Makefile.in mpegplayer/libmad/libmad.pro mpegplayer/libmpeg3/Makefile.in mpegplayer/libmpeg3/libmpeg3.pro mpegplayer/libmpeg3/audio/Makefile mpegplayer/libmpeg3/video/Makefile mpegplayer/wavplugin/Makefile.in mpegplayer/wavplugin/wavplugin.pro netsetup/Makefile.in netsetup/README netsetup/netsetup.pro netsetup/dialup/Makefile.in netsetup/dialup/dialup.pro netsetup/lan/Makefile.in netsetup/lan/lan.pro parashoot/Makefile.in parashoot/parashoot.pro qasteroids/Makefile.in qasteroids/qasteroids.pro qcop/Makefile.in qcop/qcop.pro qipkg/Makefile.in qipkg/qipkg.pro scripts/q_functions settings/appearance/Makefile.in settings/appearance/appearance.pro settings/language/Makefile.in settings/language/language.pro settings/light-and-power/Makefile.in settings/light-and-power/light-and-power.pro settings/rotation/Makefile.in settings/rotation/rotation.pro settings/security/Makefile.in settings/security/security.pro settings/sound/Makefile.in settings/sound/sound.pro settings/systemtime/Makefile.in settings/systemtime/systemtime.pro showimg/Makefile.in showimg/showimg.pro single/Makefile.in single/single.pro snake/Makefile.in snake/snake.pro solitaire/Makefile.in solitaire/solitaire.pro spreadsheet/Makefile.in spreadsheet/spreadsheet.pro sysinfo/Makefile.in sysinfo/sysinfo.pro tableviewer/tableviewer.pro taskbar/Makefile.in taskbar/main.cpp taskbar/taskbar.pro taskbar/batteryapplet/Makefile.in taskbar/batteryapplet/batteryapplet.pro taskbar/clipboardapplet/clipboardapplet.pro taskbar/clockapplet/Makefile.in taskbar/clockapplet/clockapplet.pro taskbar/netmonapplet/Makefile.in taskbar/netmonapplet/netmonapplet.pro taskbar/volumeapplet/Makefile.in taskbar/volumeapplet/volumeapplet.pro tetrix/Makefile.in tetrix/tetrix.pro textedit/Makefile.in textedit/textedit.pro todo/Makefile.in todo/todo.pro tux/Makefile.in tux/tux.pro website/htdocs/build.html website/htdocs/development.html website/htdocs/refman/qcop.html website/htdocs/refman/qpeapplication.html wordgame/Makefile.in wordgame/wordgame.pro Log Message: Changed QPEDIR to OPIEDIR in .pro files, and documentation, and regenerated all Makefile.in's that were affected.
Diffstat (limited to 'scripts/q_functions') (more/less context) (ignore whitespace changes)
-rwxr-xr-xscripts/q_functions12
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/q_functions b/scripts/q_functions
index cf2c2e1..0705cc2 100755
--- a/scripts/q_functions
+++ b/scripts/q_functions
@@ -118,58 +118,58 @@ END
118} 118}
119 119
120 120
121function print_pro_file 121function print_pro_file
122{ 122{
123cat << END 123cat << END
124 TEMPLATE= app 124 TEMPLATE= app
125 CONFIG = qt warn_on release 125 CONFIG = qt warn_on release
126 DESTDIR = ../bin 126 DESTDIR = ../bin
127 HEADERS = $NEW_CLASS_HEADER_FILE 127 HEADERS = $NEW_CLASS_HEADER_FILE
128 SOURCES = $NEW_CLASS_SOURCE_FILE $NEW_APP_MAIN_FILE 128 SOURCES = $NEW_CLASS_SOURCE_FILE $NEW_APP_MAIN_FILE
129 INTERFACES= 129 INTERFACES=
130 INCLUDEPATH+= ../library 130 INCLUDEPATH+= ../library
131 DEPENDPATH+= ../library 131 DEPENDPATH+= ../library
132LIBS += -lqpe 132LIBS += -lqpe
133 TARGET = $NEW_APP_NAME 133 TARGET = $NEW_APP_NAME
134END 134END
135} 135}
136 136
137 137
138function print_install_file 138function print_install_file
139{ 139{
140cat << END 140cat << END
141#!/bin/sh 141#!/bin/sh
142if [ a\$QPEDIR = a ] 142if [ a\$OPIEDIR = a ]
143then 143then
144echo QPEDIR must be set 144echo OPIEDIR must be set
145exit 145exit
146fi 146fi
147[ -f \$QPEDIR/pics/$NEW_APP_ICON_FILE ] || cp $NEW_APP_ICON_FILE \$QPEDIR/pics/ 147[ -f \$OPIEDIR/pics/$NEW_APP_ICON_FILE ] || cp $NEW_APP_ICON_FILE \$OPIEDIR/pics/
148[ -f \$QPEDIR/apps/$NEW_APP_DESKTOP_FILE ] || cp $NEW_APP_DESKTOP_FILE \$QPEDIR/apps/ 148[ -f \$OPIEDIR/apps/$NEW_APP_DESKTOP_FILE ] || cp $NEW_APP_DESKTOP_FILE \$OPIEDIR/apps/
149mv \$QPEDIR/Makefile \$QPEDIR/Makefile.orig 149mv \$OPIEDIR/Makefile \$OPIEDIR/Makefile.orig
150sed "s/APPS=/&$NEW_APP_NAME \\\\\\\\ \\\\ 150sed "s/APPS=/&$NEW_APP_NAME \\\\\\\\ \\\\
151 /" \$QPEDIR/Makefile.orig >> \$QPEDIR/Makefile 151 /" \$OPIEDIR/Makefile.orig >> \$OPIEDIR/Makefile
152echo You may wish to move the desktop file in to 152echo You may wish to move the desktop file in to
153echo an appropriate subdirectory of the menus. 153echo an appropriate subdirectory of the menus.
154END 154END
155} 155}
156 156
157 157
158function print_desktop_file 158function print_desktop_file
159{ 159{
160cat << END 160cat << END
161[Desktop Entry] 161[Desktop Entry]
162Type=Application 162Type=Application
163Exec=$NEW_APP_NAME 163Exec=$NEW_APP_NAME
164Icon=$NEW_APP_ICON_FILE 164Icon=$NEW_APP_ICON_FILE
165Name=$NEW_APP_MENU_NAME 165Name=$NEW_APP_MENU_NAME
166Comment=$NEW_APP_DESCRIPTION 166Comment=$NEW_APP_DESCRIPTION
167END 167END
168} 168}
169 169
170 170
171function print_icon_file 171function print_icon_file
172{ 172{
173XPM_NAME="$NEW_APP_NAME"_xpm 173XPM_NAME="$NEW_APP_NAME"_xpm
174cat << END 174cat << END
175/* XPM */ 175/* XPM */