File: rules

package info (click to toggle)
posh 0.13.2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,488 kB
  • sloc: ansic: 14,597; xml: 1,604; sh: 1,343; perl: 964; makefile: 36
file content (13 lines) | stat: -rwxr-xr-x 271 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

%:
	dh $@ --builddirectory=obj --with=autoreconf

posh_version := $(shell dpkg-parsechangelog | sed -n '/^Version: \(.*\)$$/ {s//\1/;p}')

prebuild:
	printf "define(POSH_VERSION, %s)\n" $(posh_version) >acinclude.m4

	autoreconf -fi

.PHONY: prebuild