-rw-r--r-- | include.pro | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include.pro b/include.pro index 4f1144f..8503aa0 100644 --- a/include.pro +++ b/include.pro | |||
@@ -34,39 +34,44 @@ INSTALLS += init | |||
34 | # data, default path is /usr/share/$$TARGET | 34 | # data, default path is /usr/share/$$TARGET |
35 | data.path = /usr/share/$$TARGET | 35 | data.path = /usr/share/$$TARGET |
36 | data.files = share/* | 36 | data.files = share/* |
37 | INSTALLS += data | 37 | INSTALLS += data |
38 | 38 | ||
39 | etc.path = $$prefix/etc/ | 39 | etc.path = $$prefix/etc/ |
40 | etc.files = etc/* | 40 | etc.files = etc/* |
41 | INSTALLS += etc | 41 | INSTALLS += etc |
42 | 42 | ||
43 | apps.path = $$prefix/apps/ | 43 | apps.path = $$prefix/apps/ |
44 | apps.files = apps/* | 44 | apps.files = apps/* |
45 | INSTALLS += apps | 45 | INSTALLS += apps |
46 | 46 | ||
47 | # sounds, default path is $$prefix/sounds/$$TARGET | 47 | # sounds, default path is $$prefix/sounds/$$TARGET |
48 | sounds.path = $$prefix/sounds/$$TARGET | 48 | sounds.path = $$prefix/sounds/$$TARGET |
49 | sounds.files = sounds/* | 49 | sounds.files = sounds/* |
50 | INSTALLS += sounds | 50 | INSTALLS += sounds |
51 | 51 | ||
52 | # anything in nonstandard paths | 52 | # anything in nonstandard paths |
53 | root.path = / | 53 | root.path = / |
54 | root.files = root/* | 54 | root.files = root/* |
55 | INSTALLS += root | 55 | INSTALLS += root |
56 | 56 | ||
57 | # new targets | 57 | # new targets |
58 | opie-lupdate.target = opie-lupdate | ||
59 | opie-lupdate.commands = opie-lupdate -noobsolete $(PRO) | ||
60 | |||
61 | opie-lrelease.target = opie-lrelease | ||
62 | opie-lrelease.commands = opie-lrelease $(PRO) | ||
58 | 63 | ||
59 | lupdate.target = lupdate | 64 | lupdate.target = lupdate |
60 | lupdate.commands = lupdate -noobsolete $(PRO) | 65 | lupdate.commands = lupdate -noobsolete $(PRO) |
61 | 66 | ||
62 | lrelease.target = lrelease | 67 | lrelease.target = lrelease |
63 | lrelease.commands = lrelease $(PRO) | 68 | lrelease.commands = lrelease $(PRO) |
64 | 69 | ||
65 | ipk.target = ipk | 70 | ipk.target = ipk |
66 | ipk.commands = tmp=`mktemp -d /tmp/ipkg-opie.XXXXXXXXXX` && ( $(MAKE) INSTALL_ROOT="$$$$tmp" install && ipkg-build $$$$tmp; rm -rf $$$$tmp; ) | 71 | ipk.commands = tmp=`mktemp -d /tmp/ipkg-opie.XXXXXXXXXX` && ( $(MAKE) INSTALL_ROOT="$$$$tmp" install && ipkg-build $$$$tmp; rm -rf $$$$tmp; ) |
67 | 72 | ||
68 | QMAKE_EXTRA_UNIX_TARGETS += lupdate lrelease ipk | 73 | QMAKE_EXTRA_UNIX_TARGETS += lupdate lrelease ipk opie-lupdate opie-lrelease |
69 | QMAKE_LFLAGS += -Wl,-rpath=$$prefix/lib | 74 | QMAKE_LFLAGS += -Wl,-rpath=$$prefix/lib |
70 | QMAKE_LIBDIR += $(OPIEDIR)/lib | 75 | QMAKE_LIBDIR += $(OPIEDIR)/lib |
71 | 76 | ||
72 | include ( $(OPIEDIR)/gen.pro ) | 77 | include ( $(OPIEDIR)/gen.pro ) |