3 # Sample debian/rules that uses debhelper.
4 # This file was originally written by Joey Hess and Craig Small.
5 # As a special exception, when this file is copied by dh-make into a
6 # dh-make output file, you may use that output file without restriction.
7 # This special exception was added by Craig Small in version 0.37 of dh-make.
9 # Uncomment this to turn on verbose mode.
16 configure: configure-stamp
19 # Add here commands to configure the package.
26 build-stamp: configure-stamp
29 # Add here commands to compile the package.
31 #docbook-to-man debian/nowplayingd.sgml > nowplayingd.1
32 gcc -Wall `pkg-config --cflags --libs hildon-notify glib-2.0 mafw mafw-shared` nowplaying.c -o nowplayingd
39 rm -f build-stamp configure-stamp
41 # Add here commands to clean up after the build process.
51 # Add here commands to install the package into debian/nowplayingd.
52 # $(MAKE) DESTDIR=$(CURDIR)/debian/nowplayingd install
53 mkdir -p $(CURDIR)/debian/nowplayingd/usr/bin
54 cp nowplayingd $(CURDIR)/debian/nowplayingd/usr/bin/
56 mkdir -p $(CURDIR)/debian/nowplayingd/etc/X11/Xsession.d
57 cp scripts/99nowplayingd $(CURDIR)/debian/nowplayingd/etc/X11/Xsession.d/
60 # Build architecture-independent files here.
62 # We have nothing to do by default.
64 # Build architecture-dependent files here.
95 binary: binary-indep binary-arch
96 .PHONY: build clean binary-indep binary-arch binary install configure