mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-02-03 16:55:05 +01:00
build: minor improvment.
This commit is contained in:
parent
ffa0f7bc3d
commit
3706b96fa2
3 changed files with 4 additions and 4 deletions
3
Makefile
3
Makefile
|
@ -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:
|
||||
|
|
3
PKGBUILD
3
PKGBUILD
|
@ -1,8 +1,7 @@
|
|||
# Maintainer: Alexandre Pujol <alexandre@pujol.io>
|
||||
# shellcheck disable=SC2034,SC2154,SC2164
|
||||
|
||||
# Warning: for development only, use https://aur.archlinux.org/packages/apparmor.d-git
|
||||
# for production use.
|
||||
# Warning: for development only, use https://aur.archlinux.org/packages/apparmor.d-git for production use.
|
||||
|
||||
pkgname=apparmor.d
|
||||
pkgver=0.001
|
||||
|
|
|
@ -8,6 +8,6 @@ cd "$HOME/Projects/apparmor.d"
|
|||
case "$DISTRIBUTION" in
|
||||
arch) make pkg ;;
|
||||
debian | ubuntu | whonix) make dpkg ;;
|
||||
opensuse-tumbleweed) make rpm ;;
|
||||
opensuse*) make rpm ;;
|
||||
*) ;;
|
||||
esac
|
Loading…
Reference in a new issue