5 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
11 configure: configure-stamp
19 build-stamp: configure-stamp
21 $(MAKE) CFLAGS="$(CFLAGS)"
27 rm -f build-stamp configure-stamp
28 if test -f $(CURDIR)/Makefile; then \
31 if test -f $(CURDIR)/qstardict/moc_dbusadaptor.o; then \
32 rm -f $(CURDIR)/qstardict/moc_dbusadaptor.o; \
34 if test -f $(CURDIR)/qstardict/dbusadaptor.o; then \
35 rm -f $(CURDIR)/qstardict/dbusadaptor.o; \
44 cd $(CURDIR)/qstardict && $(MAKE) INSTALL_ROOT=$(CURDIR)/debian/qstardict install
45 cd $(CURDIR)/plugins && $(MAKE) INSTALL_ROOT=$(CURDIR)/debian/qstardict install
46 mkdir -p $(CURDIR)/debian/qstardict/usr/share/pixmaps
47 cp $(CURDIR)/debian/qstardict.xpm $(CURDIR)/debian/qstardict/usr/share/pixmaps/qstardict.xpm
48 mkdir -p $(CURDIR)/debian/qstardict/usr/share/icons/hicolor/scalable/hildon
49 cp $(CURDIR)/qstardict/qstardict.png $(CURDIR)/debian/qstardict/usr/share/pixmaps/qstardict.png
50 cp $(CURDIR)/qstardict/qstardict.png $(CURDIR)/debian/qstardict/usr/share/icons/hicolor/scalable/hildon/qstardict.png
51 mkdir -p $(CURDIR)/debian/qstardict/usr/share/icons/hicolor/26x26/hildon
52 cp $(CURDIR)/debian/qstardict.png $(CURDIR)/debian/qstardict/usr/share/icons/hicolor/26x26/hildon/qstardict.png
53 mkdir -p $(CURDIR)/debian/qstardict/usr/share/applications/hildon/
54 cp $(CURDIR)/qstardict/qstardict.desktop $(CURDIR)/debian/qstardict/usr/share/applications/hildon/qstardict.desktop
55 mkdir -p $(CURDIR)/debian/qstardict/usr/share/doc/qstardict
56 cp $(CURDIR)/qstardict/copyright $(CURDIR)/debian/qstardict/usr/share/doc/qstardict/copyright
58 binary-indep: build install
61 dh_maemo_package_icons
72 if test -x /usr/bin/maemo-optify; then \
76 dh_maemo_package_icons -r
78 binary: binary-indep binary-arch
79 .PHONY: build clean binary-indep binary-arch binary install configure