mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-14 23:43:56 +01:00
build: add make auto.
This commit is contained in:
parent
6c88213562
commit
3eb8dd2811
10
Makefile
10
Makefile
@ -34,6 +34,16 @@ install:
|
|||||||
install -Dm0644 "$${file}" "${DESTDIR}/usr/lib/systemd/user/$${service}.d/apparmor.conf"; \
|
install -Dm0644 "$${file}" "${DESTDIR}/usr/lib/systemd/user/$${service}.d/apparmor.conf"; \
|
||||||
done
|
done
|
||||||
|
|
||||||
|
auto:
|
||||||
|
@[ ${DISTRIBUTION} = Arch ] || exit 0; \
|
||||||
|
makepkg --syncdeps --install --cleanbuild --force
|
||||||
|
@[ ${DISTRIBUTION} = Ubuntu ] || exit 0; \
|
||||||
|
dch --newversion="${VERSION}" --urgency=medium --distribution=stable --controlmaint "Release ${VERSION}"; \
|
||||||
|
dpkg-buildpackage -b -d --no-sign; \
|
||||||
|
sudo dpkg -i "../apparmor.d_${VERSION}_all.deb"; \
|
||||||
|
make clean
|
||||||
|
@[ ${DISTRIBUTION} = openSUSE ] || exit 0; \
|
||||||
|
make local
|
||||||
|
|
||||||
local:
|
local:
|
||||||
@./configure --complain
|
@./configure --complain
|
||||||
|
Loading…
Reference in New Issue
Block a user