-rw-r--r-- | Makefile | 5 | ||||
-rw-r--r-- | include.pro | 7 |
2 files changed, 11 insertions, 1 deletions
@@ -111,10 +111,15 @@ all clean install ipk: $(SUBDIRS) | |||
111 | lupdate lrelease: | 111 | lupdate lrelease: |
112 | @for i in $(SUBDIRS); do $(MAKE) -C $$i $@; done; | 112 | @for i in $(SUBDIRS); do $(MAKE) -C $$i $@; done; |
113 | 113 | ||
114 | opie-lupdate opie-lrelease: | ||
115 | @for i in $(SUBDIRS); do $(MAKE) -C $$i $@; done; | ||
116 | |||
114 | $(subdir-y) : $(if $(CONFIG_LIBQPE),$(QTDIR)/stamp-headers $(OPIEDIR)/stamp-headers) \ | 117 | $(subdir-y) : $(if $(CONFIG_LIBQPE),$(QTDIR)/stamp-headers $(OPIEDIR)/stamp-headers) \ |
115 | $(if $(CONFIG_LIBQPE-X11),$(QTDIR)/stamp-headers-x11 $(OPIEDIR)/stamp-headers-x11 ) \ | 118 | $(if $(CONFIG_LIBQPE-X11),$(QTDIR)/stamp-headers-x11 $(OPIEDIR)/stamp-headers-x11 ) \ |
116 | $(TOPDIR)/library/custom.h | 119 | $(TOPDIR)/library/custom.h |
117 | 120 | ||
118 | clean : $(TOPDIR)/.config | 121 | clean : $(TOPDIR)/.config |
119 | 122 | ||
123 | apidox : doc/generate_apidox | ||
124 | |||
120 | include $(TOPDIR)/Rules.make | 125 | include $(TOPDIR)/Rules.make |
diff --git a/include.pro b/include.pro index 4f1144f..8503aa0 100644 --- a/include.pro +++ b/include.pro | |||
@@ -55,6 +55,11 @@ 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) |
@@ -65,7 +70,7 @@ lrelease.commands = lrelease $(PRO) | |||
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 | ||