build: minor improvment.

This commit is contained in:
Alexandre Pujol 2023-04-19 18:58:50 +01:00
parent ffa0f7bc3d
commit 3706b96fa2
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
3 changed files with 4 additions and 4 deletions

View file

@ -7,7 +7,7 @@ DESTDIR ?= /
BUILD := .build
PKGNAME := apparmor.d
VERSION := 0.$(shell git rev-list --count HEAD)-1
P = $(notdir $(wildcard ${BUILD}/apparmor.d/*))
P = $(filter-out dpkg,$(notdir $(wildcard ${BUILD}/apparmor.d/*)))
.PHONY: all build enforce full install local $(P) pkg dpkg rpm lint clean
@ -85,6 +85,7 @@ rpm:
lint:
@shellcheck --shell=bash \
PKGBUILD configure dists/build.sh \
tests/packer/src/init.sh tests/packer/src/aa-update tests/packer/init/clean.sh \
debian/${PKGNAME}.postinst debian/${PKGNAME}.postrm
clean: