mirror of
https://github.com/jtgans/g13gui.git
synced 2025-06-20 00:14:09 -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)
|
ifeq (${DISTRO},manjaro)
|
||||||
DISTRO := archlinux
|
DISTRO := archlinux
|
||||||
|
else ifeq (${DISTRO},arch)
|
||||||
|
DISTRO := archlinux
|
||||||
endif
|
endif
|
||||||
|
|
||||||
$(warning Building on ${DISTRO})
|
$(warning Building on ${DISTRO})
|
||||||
|
@ -24,10 +24,9 @@ case "${DISTRO}" in
|
|||||||
try pacman -S --noconfirm base-devel python meson lsb-release git
|
try pacman -S --noconfirm base-devel python meson lsb-release git
|
||||||
|
|
||||||
# Work around makepkg brain-damage and build as nobody
|
# Work around makepkg brain-damage and build as nobody
|
||||||
try mkdir -p /tmp/build
|
|
||||||
try cp -r /srcs /tmp/build
|
try cp -r /srcs /tmp/build
|
||||||
try chown -R nobody:nobody /tmp/build
|
try chown -R nobody:nobody /tmp/build
|
||||||
cd /tmp/build
|
try cd /tmp/build
|
||||||
try sudo -u nobody make
|
try sudo -u nobody make
|
||||||
try cp build/* /srcs/build
|
try cp build/* /srcs/build
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user