3 # Sample debian/rules that uses debhelper.
4 # GNU copyright 1997 to 1999 by Joey Hess.
6 # Uncomment this to turn on verbose mode.
14 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
19 ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
23 configure: configure-stamp
26 # Add here commands to configure the package.
33 build-stamp: configure-stamp
36 # Add here commands to compile the package.
38 #/usr/bin/docbook-to-man debian/mdictionary.sgml > mdictionary.1
45 rm -f build-stamp configure-stamp
47 # Add here commands to clean up after the build process.
58 # Add here commands to install the package into debian/mdictionary.
59 #$(MAKE) install-manager DESTDIR=$(CURDIR)/debian/mdictionary
60 #$(MAKE) install-gui DESTDIR=$(CURDIR)/debian/mdictionarygui
61 #$(MAKE) install-plugins DESTDIR=$(CURDIR)/debian/mdictionaryplugins
62 $(MAKE) install-mdictionary DESTDIR=$(CURDIR)/debian/mdictionary
65 # Build architecture-independent files here.
66 binary-indep: build install
67 # We have nothing to do by default.
69 # Build architecture-dependent files here.
70 binary-arch: build install
100 binary: binary-indep binary-arch
101 .PHONY: build clean binary-indep binary-arch binary install configure