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.
14 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
20 configure: configure-stamp
23 # Add here commands to configure the package.
29 build-stamp: configure-stamp
32 gcc $(CFLAGS) $(shell pkg-config --cflags --libs hildon-control-panel hildon-1 libosso) -shared src/usr/lib/hildon-control-panel/libcallnotify.c -o src/usr/lib/hildon-control-panel/libcallnotify.so
39 rm -f build-stamp configure-stamp
40 rm -f src/usr/lib/hildon-control-panel/libcallnotify.so
49 # ======================================================
50 #$(MAKE) DESTDIR="$(CURDIR)/debian/callnotify" install
51 mkdir -p "$(CURDIR)/debian/callnotify"
53 mkdir -p "$(CURDIR)/debian/callnotify/usr/lib/hildon-control-panel/"
54 cp -a "src/usr/lib/hildon-control-panel/libcallnotify.so" "$(CURDIR)/debian/callnotify/usr/lib/hildon-control-panel/libcallnotify.so"
55 mkdir -p "$(CURDIR)/debian/callnotify/usr/share/CallNotify/"
56 cp -a "src/usr/share/CallNotify/1.png" "$(CURDIR)/debian/callnotify/usr/share/CallNotify/1.png"
57 mkdir -p "$(CURDIR)/debian/callnotify/usr/share/CallNotify/"
58 cp -a "src/usr/share/CallNotify/2.png" "$(CURDIR)/debian/callnotify/usr/share/CallNotify/2.png"
59 mkdir -p "$(CURDIR)/debian/callnotify/usr/share/CallNotify/"
60 cp -a "src/usr/share/CallNotify/3.png" "$(CURDIR)/debian/callnotify/usr/share/CallNotify/3.png"
61 mkdir -p "$(CURDIR)/debian/callnotify/usr/share/CallNotify/"
62 cp -a "src/usr/share/CallNotify/4.png" "$(CURDIR)/debian/callnotify/usr/share/CallNotify/4.png"
63 mkdir -p "$(CURDIR)/debian/callnotify/usr/share/CallNotify/"
64 cp -a "src/usr/share/CallNotify/5.png" "$(CURDIR)/debian/callnotify/usr/share/CallNotify/5.png"
65 mkdir -p "$(CURDIR)/debian/callnotify/usr/share/CallNotify/"
66 cp -a "src/usr/share/CallNotify/call.png" "$(CURDIR)/debian/callnotify/usr/share/CallNotify/call.png"
67 mkdir -p "$(CURDIR)/debian/callnotify/usr/share/CallNotify/"
68 cp -a "src/usr/share/CallNotify/missed.wav" "$(CURDIR)/debian/callnotify/usr/share/CallNotify/missed.wav"
69 mkdir -p "$(CURDIR)/debian/callnotify/usr/share/CallNotify/"
70 cp -a "src/usr/share/CallNotify/more.png" "$(CURDIR)/debian/callnotify/usr/share/CallNotify/more.png"
71 mkdir -p "$(CURDIR)/debian/callnotify/usr/share/CallNotify/"
72 cp -a "src/usr/share/CallNotify/sms.png" "$(CURDIR)/debian/callnotify/usr/share/CallNotify/sms.png"
73 mkdir -p "$(CURDIR)/debian/callnotify/usr/lib/hildon-desktop/"
74 cp -a "src/usr/lib/hildon-desktop/CallNotify.py" "$(CURDIR)/debian/callnotify/usr/lib/hildon-desktop/CallNotify.py"
75 mkdir -p "$(CURDIR)/debian/callnotify/usr/share/pixmaps/"
76 cp -a "src/usr/share/pixmaps/CallNotify.png" "$(CURDIR)/debian/callnotify/usr/share/pixmaps/CallNotify.png"
77 mkdir -p "$(CURDIR)/debian/callnotify/usr/share/applications/hildon-control-panel/"
78 cp -a "src/usr/share/applications/hildon-control-panel/callnotify.desktop" "$(CURDIR)/debian/callnotify/usr/share/applications/hildon-control-panel/callnotify.desktop"
79 mkdir -p "$(CURDIR)/debian/callnotify/usr/share/applications/hildon-status-menu/"
80 cp -a "src/usr/share/applications/hildon-status-menu/CallNotify.desktop" "$(CURDIR)/debian/callnotify/usr/share/applications/hildon-status-menu/CallNotify.desktop"
82 # ======================================================
84 # Build architecture-independent files here.
85 binary-indep: build install
86 # We have nothing to do by default.
88 # Build architecture-dependent files here.
89 binary-arch: build install
92 dh_installchangelogs debian/changelog
119 binary: binary-indep binary-arch
120 .PHONY: build clean binary-indep binary-arch binary install configure