Skip to content

Commit

Permalink
Fix Makefile
Browse files Browse the repository at this point in the history
- Because PYTHON_INTERPRETER is declared afterwards, it'll result in an empty value which would lead to some files being installed in the wrong path or the wrong path being used when executing the entry point.
  • Loading branch information
R1kaB3rN authored and GloriousEggroll committed Jul 8, 2024
1 parent ecd3d90 commit a1182f7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
PROJECT := umu-launcher

# Define the interpreters to use to prevent shebang complaints
PYTHON_INTERPRETER = /usr/bin/python3
SHELL_INTERPRETER = /usr/bin/sh

# If this is changed to umu (uppercase), `uninstall` target will also remove the SLR directory
INSTALLDIR ?= umu

Expand All @@ -16,10 +20,6 @@ DESTDIR ?=
USERINSTALL ?= xfalse
FLATPAK ?= xfalse

# Define the interpreters to use to prevent shebang complaints
PYTHON_INTERPRETER = /usr/bin/python3
SHELL_INTERPRETER = /usr/bin/sh

.PHONY: all
ifeq ($(FLATPAK), xtrue)
all: version umu umu-launcher
Expand Down

0 comments on commit a1182f7

Please sign in to comment.