Added package icon and better package description and details
[slovak-l10n] / ukeyboard / 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 DESTDIR=$(CURDIR)/debian/ukeyboard
13 DESTDIR_CREATOR=$(CURDIR)/debian/ukbdcreator
14
15 configure: configure-stamp
16 configure-stamp:
17         dh_testdir
18
19         touch configure-stamp
20
21
22 build: build-stamp
23
24 build-stamp: configure-stamp 
25         dh_testdir
26
27         $(MAKE)
28
29         touch build-stamp
30
31 clean:
32         dh_testdir
33         dh_testroot
34         rm -f build-stamp configure-stamp
35
36         # Add here commands to clean up after the build process.
37         $(MAKE) clean
38
39         dh_clean 
40
41 install: build
42         dh_testdir
43         dh_testroot
44         dh_clean -k 
45         dh_installdirs
46
47         # Add here commands to install the package into $(DESTDIR)
48         $(MAKE) DESTDIR=$(DESTDIR) install
49         $(MAKE) -C ukbdcreator DESTDIR=$(DESTDIR_CREATOR)/usr install
50
51
52 # Build architecture-independent files here.
53 binary-indep: build install
54 # We have nothing to do by default.
55
56 # Build architecture-dependent files here.
57 binary-arch: build install
58         dh_testdir
59         dh_testroot
60 #       dh_installchangelogs 
61         dh_fixperms
62         dh_installdeb
63         dh_gencontrol
64         dh_md5sums
65         dh_builddeb
66
67 binary: binary-indep binary-arch
68 .PHONY: build clean binary-indep binary-arch binary install configure