File: rules

package info (click to toggle)
vim-scripts 6-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,804 kB
  • ctags: 1,669
  • sloc: perl: 99; makefile: 27
file content (48 lines) | stat: -rwxr-xr-x 1,044 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
#!/usr/bin/make -f
# Sample debian/rules that uses debhelper.
# GNU copyright 1997 to 1999 by Joey Hess.

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

include /usr/share/dpatch/dpatch.make

# A lot of superfluous targets for this simple package. I leave them all
# in so that people not looking into this file are not surprised when
# they try "debian/rules build" and such.

build:

clean: patch clean1 unpatch
clean1:
	dh_testdir
	dh_testroot
	dh_clean

install:

binary-arch:
# Nothing to do here.

OLD_DESTDIR = /usr/share/doc/vim-scripts/examples

# Build architecture-independent files here.
binary-indep:
	dh_testdir
	dh_testroot
	dh_installdirs
	dh_install
	dh_installdocs
	test -L debian/vim-scripts$(OLD_DESTDIR) || \
	  ln -s ../../vim-scripts debian/vim-scripts$(OLD_DESTDIR)
	dh_installchangelogs 
	dh_fixperms
	dh_compress
	dh_installdeb
	dh_gencontrol
	dh_md5sums
	dh_builddeb

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