font size...
[iramuteq] / debian / rules
1 #!/usr/bin/make -f
2 # -*- makefile -*-
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.
8
9 # Uncomment this to turn on verbose mode.
10 #export DH_VERBOSE=1
11
12
13
14
15
16 configure: configure-stamp
17 configure-stamp:
18         dh_testdir
19         # Add here commands to configure the package.
20
21         touch configure-stamp
22
23
24 build: build-stamp
25
26 build-stamp: configure-stamp  
27         dh_testdir
28
29         # Add here commands to compile the package.
30         #$(MAKE)
31         #docbook-to-man debian/iramuteq.sgml > iramuteq.1
32
33         touch build-stamp
34
35 clean: 
36         dh_testdir
37         dh_testroot
38         rm -f build-stamp configure-stamp
39
40         # Add here commands to clean up after the build process.
41         #$(MAKE) clean
42
43         dh_clean 
44
45 install: build
46         dh_testdir
47         dh_testroot
48         dh_clean -k 
49         dh_installdirs
50
51         # Add here commands to install the package into debian/iramuteq.
52         #$(MAKE) DESTDIR=$(CURDIR)/debian/iramuteq install
53         mkdir -p $(CURDIR)/debian/iramuteq
54         cp iramuteq $(CURDIR)/debian/iramuteq/usr/bin/iramuteq
55         cp *.py $(CURDIR)/debian/iramuteq/usr/share/iramuteq
56         mkdir -p $(CURDIR)/debian/iramuteq/usr/share/iramuteq/dictionnaires
57         cp dictionnaires/* $(CURDIR)/debian/iramuteq/usr/share/iramuteq/dictionnaires
58         mkdir -p $(CURDIR)/debian/iramuteq/usr/share/iramuteq/Rscripts
59         cp Rscripts/* $(CURDIR)/debian/iramuteq/usr/share/iramuteq/Rscripts
60         mkdir -p $(CURDIR)/debian/iramuteq/usr/share/iramuteq/images
61         cp images/* $(CURDIR)/debian/iramuteq/usr/share/iramuteq/images
62         mkdir -p $(CURDIR)/debian/iramuteq/usr/share/iramuteq/configuration
63         cp configuration/* $(CURDIR)/debian/iramuteq/usr/share/iramuteq/configuration
64         cp iramuteq.desktop $(CURDIR)/debian/iramuteq/usr/share/applications
65         cp images/iraicone.png $(CURDIR)/debian/iramuteq/usr/share/icons
66         cp son_fin.wav $(CURDIR)/debian/iramuteq/usr/share/iramuteq
67         mkdir -p $(CURDIR)/debian/iramuteq/usr/share/iramuteq/locale
68         mkdir -p $(CURDIR)/debian/iramuteq/usr/share/iramuteq/locale/en
69         mkdir -p $(CURDIR)/debian/iramuteq/usr/share/iramuteq/locale/en/LC_MESSAGES
70         mkdir -p $(CURDIR)/debian/iramuteq/usr/share/iramuteq/locale/fr_FR
71         mkdir -p $(CURDIR)/debian/iramuteq/usr/share/iramuteq/locale/fr_FR/LC_MESSAGES
72         mkdir -p $(CURDIR)/debian/iramuteq/usr/share/iramuteq/locale/pt_PT
73         mkdir -p $(CURDIR)/debian/iramuteq/usr/share/iramuteq/locale/pt_PT/LC_MESSAGES
74         mkdir -p $(CURDIR)/debian/iramuteq/usr/share/iramuteq/locale/it_IT
75         mkdir -p $(CURDIR)/debian/iramuteq/usr/share/iramuteq/locale/it_IT/LC_MESSAGES
76         mkdir -p $(CURDIR)/debian/iramuteq/usr/share/iramuteq/locale/es_ES
77         mkdir -p $(CURDIR)/debian/iramuteq/usr/share/iramuteq/locale/es_ES/LC_MESSAGES
78         cp locale/en/LC_MESSAGES/iramuteq.mo $(CURDIR)/debian/iramuteq/usr/share/iramuteq/locale/en/LC_MESSAGES
79         cp locale/fr_FR/LC_MESSAGES/iramuteq.mo $(CURDIR)/debian/iramuteq/usr/share/iramuteq/locale/fr_FR/LC_MESSAGES
80         cp locale/pt_PT/LC_MESSAGES/iramuteq.mo $(CURDIR)/debian/iramuteq/usr/share/iramuteq/locale/pt_PT/LC_MESSAGES
81         cp locale/es_ES/LC_MESSAGES/iramuteq.mo $(CURDIR)/debian/iramuteq/usr/share/iramuteq/locale/es_ES/LC_MESSAGES
82         cp locale/it_IT/LC_MESSAGES/iramuteq.mo $(CURDIR)/debian/iramuteq/usr/share/iramuteq/locale/it_IT/LC_MESSAGES
83
84
85 # Build architecture-independent files here.
86 binary-indep: build install
87 # We have nothing to do by default.
88
89 # Build architecture-dependent files here.
90 binary-arch: build install
91         dh_testdir
92         dh_testroot
93         dh_installchangelogs 
94         dh_installdocs
95         dh_installexamples
96 #       dh_install
97 #       dh_installmenu
98 #       dh_installdebconf       
99 #       dh_installlogrotate
100 #       dh_installemacsen
101 #       dh_installpam
102 #       dh_installmime
103 #       dh_python
104 #       dh_installinit
105 #       dh_installcron
106 #       dh_installinfo
107         dh_installman
108         dh_link
109         dh_strip
110         dh_compress
111         dh_fixperms
112 #       dh_perl
113 #       dh_makeshlibs
114         dh_installdeb
115         dh_shlibdeps
116         dh_gencontrol
117         dh_md5sums
118         dh_builddeb
119
120 binary: binary-indep binary-arch
121 .PHONY: build clean binary-indep binary-arch binary install configure