build: add initial makefile.

This commit is contained in:
Alexandre Pujol 2022-10-04 23:17:52 +01:00
parent fa1f71a151
commit 9a016bd1a0
No known key found for this signature in database
GPG Key ID: C5469996F0DF68EC

34
Makefile Normal file
View 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