Skip to content

Commit

Permalink
Change Linux Makefile to match the Windows and Mac ones
Browse files Browse the repository at this point in the history
follow up for PR musescore#5928 and just for consistency.
Also improve the syntax for all 3.
  • Loading branch information
Jojo-Schmitz committed Apr 20, 2020
1 parent 414808f commit 2c7cd5b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
CPUS := $(shell getconf _NPROCESSORS_ONLN 2>/dev/null || getconf NPROCESSORS_ONLN 2>/dev/null || echo 1)

PREFIX = "/usr/local"
VERSION = `cmake -P config.cmake | grep -oP "VERSION\s+\K.*"`
VERSION := $(cmake -P config.cmake | sed -n -e "s/^.*VERSION *//p")
BUILD_NUMBER=""

TELEMETRY_TRACK_ID=""
Expand Down
2 changes: 1 addition & 1 deletion Makefile.mingw
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#=============================================================================

VERSION = `cmake -P config.cmake | sed -n -e "s/^.*VERSION *//p"`
VERSION := $(cmake -P config.cmake | sed -n -e "s/^.*VERSION *//p")
BUILD_NUMBER=""
CPUS = %NUMBER_OF_PROCESSORS%
BUILD_FOR_WINSTORE="OFF" # Override with "ON" to enable.
Expand Down
2 changes: 1 addition & 1 deletion Makefile.osx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#=============================================================================

VERSION = `cmake -P config.cmake | sed -n -e "s/^.*VERSION *//p"`
VERSION := $(cmake -P config.cmake | sed -n -e "s/^.*VERSION *//p")
BUILD_NUMBER = ""
PREFIX=../applebuild
TELEMETRY_TRACK_ID=""
Expand Down

0 comments on commit 2c7cd5b

Please sign in to comment.