File: rules

package info (click to toggle)
clive-utils 2.1.6-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 192 kB
  • ctags: 90
  • sloc: perl: 1,256; makefile: 95
file content (19 lines) | stat: -rwxr-xr-x 455 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

%:
	dh $@

override_dh_auto_test:
	for f in feed scan pass; do perl -c clive$$f || exit 1; done

build:
	dh $@
	for f in feed scan pass; do if [ -e clive$$f.1 ]; then mv -v clive$$f.1 clive$$f.1-ORIG; fi; done
	$(MAKE) man

override_dh_auto_install:
	$(MAKE) install DESTDIR=$(CURDIR)/debian/clive-utils prefix=/usr

clean:
	dh $@
	for f in feed scan pass; do if [ -e clive$$f.1-ORIG ]; then mv -v clive$$f.1-ORIG clive$$f.1; fi; done