File: rules

package info (click to toggle)
slbackup-php 0.3-2.2%2Bsqueeze1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 264 kB
  • ctags: 181
  • sloc: php: 952; makefile: 125; sh: 30
file content (51 lines) | stat: -rwxr-xr-x 915 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#!/usr/bin/make -f
# -*- makefile -*-


build: build-stamp

build-stamp:  
	dh_testdir
	$(MAKE)
	touch build-stamp

clean:
	dh_testdir
	dh_testroot
	rm -f build-stamp
	[ ! -f Makefile ] || $(MAKE) clean
	dh_clean
	debconf-updatepo

install: build
	dh_testdir
	dh_testroot
	dh_clean -k 
	-$(MAKE) mo-files
	dh_installdirs
	$(MAKE) install DESTDIR=$(CURDIR)/debian/slbackup-php prefix=/usr


binary-arch: 

binary-indep: build install
	dh_testdir
	dh_testroot
	dh_installchangelogs 
	dh_installdocs ./ChangeLog 
	#dh_installdocs 
	mv $(CURDIR)/debian/slbackup-php/usr/share/doc/slbackup-php/ChangeLog $(CURDIR)/debian/slbackup-php/usr/share/doc/slbackup-php/changelog
	dh_installcron
	dh_installdebconf
	dh_installman
	dh_link
	dh_compress
	dh_fixperms 
	dh_installdeb
	dh_shlibdeps
	dh_gencontrol
	dh_md5sums
	dh_builddeb

binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install