commitando os sources pra gerar o pacote debian
[remotepc] / deb-package / client / notes / rules
1 #!/usr/bin/make -f
2
3 configure: configure-stamp
4 configure-stamp:
5         dh_testdir
6         # Add here commands to configure the package.
7
8         touch configure-stamp
9
10
11 build: build-stamp
12
13 build-stamp: configure-stamp 
14         dh_testdir
15
16         # Add here commands to compile the package.
17         ##$(MAKE)
18         #docbook-to-man debian/pcremote-client.sgml > pcremote-client.1
19
20         touch build-stamp
21
22 clean:
23         dh_testdir
24         dh_testroot
25         rm -f build-stamp configure-stamp
26         dh_clean
27
28         # Add here commands to clean up after the build process.
29         -$(MAKE) clean
30
31         dh_clean 
32
33 install: build
34         dh_testdir
35         dh_testroot
36         dh_clean -k 
37         dh_installdirs
38
39         # Add here commands to install the package into debian/pcremote-client.
40         #$(MAKE) install DESTDIR=$(CURDIR)/debian/pcremote-client
41         mkdir -p $(CURDIR)/debian/pcremote-client
42
43         ###insert your commands here
44         cp *.py *.edj $(CURDIR)/debian/pcremote-client/usr/share/pcremote-client
45         cp -r connection/ $(CURDIR)/debian/pcremote-client/usr/share/pcremote-client
46         cp -r utils/ $(CURDIR)/debian/pcremote-client/usr/share/pcremote-client
47         cp pcremote26.png $(CURDIR)/debian/pcremote-client/usr/share/icons/hicolor/26x26/hildon/pcremote.png 
48
49         ### Installing menufile
50         # copy the file with the menu entry into /usr/share/applications
51         cp pcremote-client.desktop $(CURDIR)/debian/pcremote-client/usr/share/applications/hildon
52         cp pcremote-client $(CURDIR)/debian/pcremote-client/usr/bin
53
54 # Build architecture-independent files here.
55 binary-indep: build install
56 # We have nothing to do by default.
57
58 # Build architecture-dependent files here.
59 binary-arch: build install
60         dh_testdir
61         dh_testroot
62         dh_installchangelogs 
63         dh_installdocs
64         dh_installexamples
65 #       dh_install
66 #       dh_installmenu
67 #       dh_installdebconf       
68 #       dh_installlogrotate
69 #       dh_installemacsen
70 #       dh_installpam
71 #       dh_installmime
72 #       dh_python
73 #       dh_installinit
74 #       dh_installcron
75 #       dh_installinfo
76         dh_installman
77         dh_link
78         dh_strip
79         dh_compress
80         dh_fixperms
81 #       dh_perl
82 #       dh_makeshlibs
83         dh_installdeb
84         dh_shlibdeps
85         dh_gencontrol
86         dh_md5sums
87         dh_builddeb
88
89 binary: binary-indep binary-arch
90 .PHONY: build clean binary-indep binary-arch binary install configure