summaryrefslogtreecommitdiff
path: root/cmd/rescribe/makefile
diff options
context:
space:
mode:
authorNick White <git@njw.name>2024-04-09 09:09:42 +0100
committerNick White <git@njw.name>2024-04-09 09:09:42 +0100
commite94c232d0af91c3dd4e2a7fd05e1fa9073b2ac00 (patch)
treeda6460ebd08f48ebcfac6d1c3a1febe51ea90a06 /cmd/rescribe/makefile
parentf463237e3cda7cba5af2f062eb44a2798daf7b49 (diff)
Fix make rules setting version string correctly, and fix up flatpak build rules further
Diffstat (limited to 'cmd/rescribe/makefile')
-rw-r--r--cmd/rescribe/makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/rescribe/makefile b/cmd/rescribe/makefile
index 4047ff0..bc177a4 100644
--- a/cmd/rescribe/makefile
+++ b/cmd/rescribe/makefile
@@ -50,7 +50,7 @@ build/darwin/rescribe: build/darwin_amd64/rescribe build/darwin_arm64/rescribe
build/darwin/Rescribe.app: build/darwin/rescribe
go install fyne.io/fyne/v2/cmd/fyne@v2.1.2
- fyne package --release --certificate Rescribe --id xyz.rescribe.rescribe --tags embed --name Rescribe --exe build/darwin/rescribe --os darwin --icon icon.png --appVersion $VERSION
+ fyne package --release --certificate Rescribe --id xyz.rescribe.rescribe --tags embed --name Rescribe --exe build/darwin/rescribe --os darwin --icon icon.png --appVersion $(VERSION)
codesign -s Rescribe Rescribe.app
mv Rescribe.app $@
@@ -65,7 +65,7 @@ build/windows/rescribe-bin.exe: $(GODEPS)
dist/windows/rescribe.exe: build/windows/rescribe-bin.exe
mkdir -p dist/windows
- CC="x86_64-w64-mingw32-gcc" fyne package --tags embed --name Rescribe --exe build/windows/rescribe-bin.exe --os windows --icon icon.png --appVersion $VERSION
+ CC="x86_64-w64-mingw32-gcc" fyne package --tags embed --name Rescribe --exe build/windows/rescribe-bin.exe --os windows --icon icon.png --appVersion $(VERSION)
mv rescribe.exe $@
# used for flatpak building