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/iramuteq.sgml > iramuteq.1
38 rm -f build-stamp configure-stamp
40 # Add here commands to clean up after the build process.
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 cp locale/en/LC_MESSAGES/iramuteq.mo $(CURDIR)/debian/iramuteq/usr/share/iramuteq/locale/en/LC_MESSAGES
73 cp locale/fr_FR/LC_MESSAGES/iramuteq.mo $(CURDIR)/debian/iramuteq/usr/share/iramuteq/locale/fr_FR/LC_MESSAGES
76 # Build architecture-independent files here.
77 binary-indep: build install
78 # We have nothing to do by default.
80 # Build architecture-dependent files here.
81 binary-arch: build install
111 binary: binary-indep binary-arch
112 .PHONY: build clean binary-indep binary-arch binary install configure