File: rules

package info (click to toggle)
attal-themes 1.0~rc2.dfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, squeeze, stretch, wheezy
  • size: 38,964 kB
  • sloc: makefile: 34
file content (44 lines) | stat: -rwxr-xr-x 929 bytes parent folder | download | duplicates (2)
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
#!/usr/bin/make -f

build: build-stamp
build-stamp:
	dh_testdir
	touch build-stamp

clean:
	dh_testdir
	rm -f build-stamp
	dh_clean

install:
	dh_testdir
	dh_testroot
	dh_clean -k
	dh_installdirs
	dh_install -X.cvsignore

binary-indep: build install
	dh_testdir -i
	dh_testroot -i
	dh_installchangelogs -i
	dh_installdocs -i
	dh_installexamples -i
	dh_link -i
	dh_compress -i
	dh_fixperms -i
	find $(CURDIR)/debian/attal-themes-medieval/ -name *.png |xargs chmod -x
	dh_installdeb -i
	dh_gencontrol -i
	dh_md5sums -i
	dh_builddeb -i

# Build architecture independant packages using the common target.
binary-arch: build install

binary: binary-arch binary-indep
 
get-orig-source:
	uscan --download --repack --package attal-themes --upstream-version 0 \
		--force-download --watchfile $(dir $(_))/watch --destdir .

.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch configure get-orig-source