File: rules

package info (click to toggle)
wmaker-data 0.9~3-4.1
  • links: PTS
  • area: main
  • in suites: bullseye, sid
  • size: 756 kB
  • sloc: makefile: 35; sh: 6
file content (49 lines) | stat: -rwxr-xr-x 942 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
45
46
47
48
49
#!/usr/bin/make -f
# Made with the aid of debmake, by Christoph Lameter,
# based on the sample debian/rules file for GNU hello by Ian Jackson.

package := wmaker-data
instdir := usr/share/icons

build:
	dh_testdir
	touch build

clean:
	dh_testdir
	dh_testroot
	-rm -f build
	-rm -rf `find . -name "*~" -o -name ".xvpics"`
	dh_clean

binary-indep: build
	dh_testdir -i
	dh_testroot
	dh_prep -i
	dh_installdirs -i
	mkdir debian/tmp
	find icons* -type f -not -regex .*\.svn.* -exec cp {} debian/tmp \;
	cd debian/tmp/ && \
	  for icon in * ; do \
	    mv $$icon wmaker-$$icon ; \
          done
	dh_install --list-missing --sourcedir=debian/tmp
	rm -rf debian/tmp
	dh_installdocs -i
	dh_installchangelogs -i
	dh_compress -i
	dh_fixperms -i
	dh_installdeb -i
	dh_gencontrol -i -u-isp
	dh_md5sums -i
	dh_builddeb -i

binary-arch: build
#	dh_testdir
#	dh_testroot

binary:		binary-indep
#binary-arch

.PHONY: binary binary-indep clean
#binary-arch