mirror of
https://github.com/jtgans/g13gui.git
synced 2025-06-19 07:53:52 -04:00
build: Add a dist target.
This commit is contained in:
parent
6f92869f6e
commit
3d94e8e810
2
Makefile
2
Makefile
@ -17,6 +17,8 @@ endif
|
||||
|
||||
ifeq (${DISTRO},manjaro)
|
||||
DISTRO := archlinux
|
||||
else ifeq (${DISTRO},arch)
|
||||
DISTRO := archlinux
|
||||
endif
|
||||
|
||||
$(warning Building on ${DISTRO})
|
||||
|
@ -24,10 +24,9 @@ case "${DISTRO}" in
|
||||
try pacman -S --noconfirm base-devel python meson lsb-release git
|
||||
|
||||
# Work around makepkg brain-damage and build as nobody
|
||||
try mkdir -p /tmp/build
|
||||
try cp -r /srcs /tmp/build
|
||||
try chown -R nobody:nobody /tmp/build
|
||||
cd /tmp/build
|
||||
try cd /tmp/build
|
||||
try sudo -u nobody make
|
||||
try cp build/* /srcs/build
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user