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