git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/nfpm/Makefile
blob: fa22a2a6194c5f95e0648e875f8d1d46d38b817d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
all: skel chglog build

skel:
	@grep -vP '^[\t\ ]*#' nfpm.yaml.skel | tr -s '\n' > nfpm.yaml

build: build-deb build-rpm build-arch

build-deb:
	@mkdir -pv ./build
	@nfpm pkg --packager deb --target ./build/

build-rpm:
	@mkdir -pv ./build
	@nfpm pkg --packager rpm --target ./build/

build-arch:
	@mkdir -pv ./build
	@nfpm pkg --packager archlinux --target ./build/

chglog:
	@chglog init

clean:
	@rm -rv ./build