File: rules

package info (click to toggle)
nukeimage 0.3-3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 104 kB
  • ctags: 9
  • sloc: sh: 58; makefile: 34
file content (46 lines) | stat: -rwxr-xr-x 804 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
#! /usr/bin/make -f

export DH_OPTIONS

dtmp = $(CURDIR)/debian/mozilla-nukeimage
extdir = $(dtmp)/usr/share/mozilla-extensions/nukeimage
uuid = C93FC8A2-2FC7-4DD8-A89D-792159A32799

src = content locale

build:

clean:
	dh_testdir
	dh_testroot
	dh_clean

install:
	dh_testdir
	dh_testroot
	dh_clean -k
	dh_installdirs

	zip -r $(extdir)/nukeimage.jar $(src) -x \*/.svn\*
	install -m 644 debian/chrome.d debian/extensions.d $(extdir)
	install -m 644 debian/install.rdf $(extdir)/'{$(uuid)}'

binary-indep: DH_OPTIONS=-i
binary-indep: install
	dh_testdir
	dh_testroot
	dh_installchangelogs
	dh_installdocs
	dh_link
	dh_compress
	dh_fixperms
	dh_installdeb
	dh_gencontrol
	dh_md5sums
	dh_builddeb

binary-arch:

binary: binary-indep binary-arch

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