2
# Sample debian/rules that uses debhelper.
3
# GNU copyright 1997 to 1999 by Joey Hess.
5
# Uncomment this to turn on verbose mode.
8
include /usr/share/dpatch/dpatch.make
14
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
20
config.status: configure
22
# Add here commands to configure the package.
23
CFLAGS="$(CFLAGS)" ./configure \
25
--mandir=\$${prefix}/share/man \
26
--with-icon-path=\$${prefix}/share/pixmaps \
27
--with-freedesktop_org-menu=\$${prefix}/share/applications \
28
--with-freedesktop_org-mime=\$${prefix}/share/mime \
29
--without-gnome2_4-mime \
30
--without-gnome2_4-appreg \
32
--disable-update-databases
36
build-stamp: patch-stamp config.status
38
# Add here commands to compile the package.
46
-rm -f build-stamp patch-stamp
48
# Add here commands to clean up after the build process.
51
-test -r /usr/share/misc/config.sub && \
52
cp -f /usr/share/misc/config.sub config.sub
53
-test -r /usr/share/misc/config.guess && \
54
cp -f /usr/share/misc/config.guess config.guess
55
-test -r /usr/share/gettext/config.rpath && \
56
cp -f /usr/share/gettext/config.rpath config.rpath
66
# Add here commands to install the package into debian/winefish.
67
$(MAKE) install DESTDIR=$(CURDIR)/debian/$(PACKAGE)
68
mv $(CURDIR)/debian/$(PACKAGE)/usr/share/pixmaps/gnome-application-winefish-project.png \
69
$(CURDIR)/debian/$(PACKAGE)/usr/share/icons/hicolor/48x48/mimetypes/gnome-mime-application-winefish-project.png
72
# Build architecture-independent files here.
73
binary-indep: build install
74
# We have nothing to do by default.
76
# Build architecture-dependent files here.
77
binary-arch: build install
83
dh_installchangelogs CHANGES
94
binary: binary-indep binary-arch
95
.PHONY: build clean binary-indep binary-arch binary install