chore(build): cleanup the justfile.

This commit is contained in:
Alexandre Pujol 2025-04-05 21:50:18 +02:00
parent d5e70ca994
commit 4bd415d260
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC

View file

@ -17,6 +17,12 @@
# just available
# just clean
# Build setings
destdir := "/"
build := ".build"
pkgdest := `pwd` / ".pkg/dist"
pkgname := "apparmor.d"
# Admin username
username := "user"
@ -55,14 +61,8 @@ c := "--connect=qemu:///system"
# VM prefix
prefix := "aa-"
# Build setings
destdir := "/"
build := ".build"
pkgdest := `pwd` / ".pkg/dist"
pkgname := "apparmor.d"
[doc('Show this help message')]
default:
help:
@echo -e "Integration environment helper for apparmor.d\n"
@just --list --unsorted
@echo -e "\nSee https://apparmor.pujol.io/development/vm/ for more information."
@ -89,7 +89,6 @@ install:
#!/usr/bin/env bash
set -eu -o pipefail
install -Dm0755 {{build}}/aa-log {{destdir}}/usr/bin/aa-log
install -Dm0644 systemd/aa-fix.service {{destdir}}/usr/lib/systemd/system/aa-fix.service
for file in $(find "{{build}}/share" -type f -not -name "*.md" -printf "%P\n"); do
install -Dm0644 "{{build}}/share/$file" "{{destdir}}/usr/share/$file"
done