File: rules

package info (click to toggle)
microcom 2016.01.0-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 584 kB
  • ctags: 196
  • sloc: sh: 4,121; ansic: 1,896; makefile: 16
file content (18 lines) | stat: -rwxr-xr-x 715 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

build: build-arch build-indep
install: build
binary-arch binary-indep: install
binary: binary-arch binary-indep

build-arch build-indep build install binary-arch binary-indep binary clean:
	dh $@

# Create orig.tar.gz as upstream only provides tags in git.
# This target doesn't comply to Debian policy because it cannot currently be
# called from any directory. Also it should determine $upstreamversion
# automatically. Patches welcome.
#get-orig-source:
#	git archive --format=tar --prefix=microcom-$upstreamversion.orig/ $upstreamtag | gzip -n --best > microcom_$upstreamversion.orig.tar.gz

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