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 cp $(CURDIR)/qstardict/qstardict.png $(CURDIR)/debian/qstardict/usr/share/pixmaps/qstardict.png
49 mkdir -p $(CURDIR)/debian/qstardict/usr/share/applications/hildon/
50 cp $(CURDIR)/qstardict/qstardict.desktop $(CURDIR)/debian/qstardict/usr/share/applications/hildon/qstardict.desktop
52 binary-indep: build install
67 binary: binary-indep binary-arch
68 .PHONY: build clean binary-indep binary-arch binary install configure