File: rules

package info (click to toggle)
flowscan-cuflow 1.7-9
  • links: PTS
  • area: main
  • in suites: buster, sid, stretch
  • size: 352 kB
  • ctags: 95
  • sloc: perl: 4,001; makefile: 36; sh: 35
file content (43 lines) | stat: -rwxr-xr-x 1,101 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
#!/usr/bin/make -f

get-orig-source:
	@if [ -z "$(UPSTREAM_VERSION)" ]; then echo "Please run as .../debian/rules UPSTREAM_VERSION=xxx $@"; exit 1; fi
	wget -O "CUFlow-$(UPSTREAM_VERSION).tgz" "http://www.columbia.edu/acis/networks/advanced/CUFlow/CUFlow-$(UPSTREAM_VERSION).tgz"
	mv CUFlow-$(UPSTREAM_VERSION).tgz flowscan-cuflow_$(UPSTREAM_VERSION).orig.tar.gz

.PHONY: clean
clean: 
	dh_testdir
	dh_clean

.PHONY:	build build-arch build-indep
build:	build-arch build-indep
build-arch:
build-indep:
	# Nothing to do here.

.PHONY:	install install-arch install-indep
install: install-arch install-indep
install-arch: build-arch
install-indep: build-indep
	dh_testdir
	dh_testroot
	dh_prep
	dh_install		--indep
	dh_installdocs		--indep
	dh_installchangelogs	--indep
	dh_installexamples	--indep
	dh_link			--indep
	dh_installdeb		--indep

.PHONY:	binary binary-arch binary-indep
binary:	binary-arch binary-indep
binary-arch: install-arch
binary-indep: install-indep
	dh_testdir
	dh_testroot
	dh_compress		--indep
	dh_fixperms		--indep
	dh_md5sums		--indep
	dh_gencontrol		--indep
	dh_builddeb		--indep