9a800ffca8f9b949884426266cb14d50c585d16d
1 #!/usr/bin/make -f
2 # -*- makefile -*-
4 # Uncomment this to turn on verbose mode.
5 #export DH_VERBOSE=1
7 get-orig-source:
8 uscan --force --verbose --repack --rename
10 configure: configure-stamp
11 configure-stamp:
12 dh_testdir
13 # Add here commands to configure the package.
15 touch configure-stamp
18 build: build-stamp
19 build-stamp: configure-stamp
20 dh_testdir
22 # Add here commands to compile the package.
23 #$(MAKE)
24 #docbook-to-man debian/libkohana-php.sgml > libkohana-php.1
26 touch $@
28 clean:
29 dh_testdir
30 dh_testroot
31 rm -f build-stamp configure-stamp
33 dh_clean
35 install: build
36 dh_testdir
37 dh_testroot
38 dh_prep
39 dh_installdirs
41 # Add here commands to install the package into debian/libkohana-php.
42 cp -a system $(CURDIR)/debian/libkohana-php/usr/share/php/kohana/
43 # Remove DejaVu-Fonts and create symlink
44 rm -rf $(CURDIR)/debian/libkohana-php/usr/share/php/kohana/system/fonts
45 ln -s /usr/share/fonts/truetype/ttf-dejavu $(CURDIR)/debian/libkohana-php/usr/share/php/kohana/system/fonts
48 # Build architecture-independent files here.
49 binary-indep: install
50 dh_testdir
51 dh_testroot
52 dh_installchangelogs
53 dh_installdocs
54 dh_installexamples
55 # dh_install
56 # dh_installmenu
57 # dh_installdebconf
58 # dh_installlogrotate
59 # dh_installemacsen
60 # dh_installpam
61 # dh_installmime
62 # dh_installinit
63 # dh_installcron
64 # dh_installinfo
65 # dh_installwm
66 # dh_installudev
67 dh_lintian
68 # dh_undocumented
69 dh_installman
70 dh_link
71 dh_compress
72 dh_fixperms
73 # dh_perl
74 # dh_python
75 dh_installdeb
76 dh_gencontrol
77 dh_md5sums
78 dh_builddeb
80 # Build architecture-dependent files here.
81 binary-arch: install
83 binary: binary-indep binary-arch
84 .PHONY: build clean binary-indep binary-arch binary install configure