mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-14 23:43:56 +01:00
build: add initial makefile.
This commit is contained in:
parent
fa1f71a151
commit
9a016bd1a0
34
Makefile
Normal file
34
Makefile
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
|
PKGNAME := apparmor.d
|
||||||
|
|
||||||
|
.PHONY: install lint archlinux debian ubuntu whonix clean
|
||||||
|
|
||||||
|
all:
|
||||||
|
@echo "Nothing to do."
|
||||||
|
|
||||||
|
install:
|
||||||
|
@echo "Nothing to do."
|
||||||
|
|
||||||
|
lint:
|
||||||
|
@shellcheck --shell=bash \
|
||||||
|
PKGBUILD configure pick dists/build/build.sh \
|
||||||
|
debian/${PKGNAME}.postinst debian/${PKGNAME}.postrm
|
||||||
|
|
||||||
|
archlinux:
|
||||||
|
@bash dists/build/build.sh archlinux
|
||||||
|
|
||||||
|
debian:
|
||||||
|
@bash dists/build/build.sh debian
|
||||||
|
|
||||||
|
ubuntu:
|
||||||
|
@bash dists/build/build.sh ubuntu
|
||||||
|
|
||||||
|
whonix:
|
||||||
|
@bash dists/build/build.sh whonix
|
||||||
|
|
||||||
|
clean:
|
||||||
|
@rm -rf \
|
||||||
|
debian/.debhelper debian/debhelper* debian/*.debhelper \
|
||||||
|
${PKGNAME}-*.pkg.tar.zst.sig ${PKGNAME}-*.pkg.tar.zst \
|
||||||
|
${PKGNAME}_*.* .build
|
Loading…
Reference in New Issue
Block a user