summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmd/rescribe/makefile4
-rw-r--r--cmd/rescribe/xyz.rescribe.rescribe.yml4
2 files changed, 2 insertions, 6 deletions
diff --git a/cmd/rescribe/makefile b/cmd/rescribe/makefile
index f1db3f3..46be367 100644
--- a/cmd/rescribe/makefile
+++ b/cmd/rescribe/makefile
@@ -28,10 +28,6 @@ dist/linux/rescribe: $(GODEPS)
mkdir -p dist/linux
GOOS=linux GOARCH=amd64 go build -tags embed -o $@ .
-dist/linux/rescribe-nogenerate: $(GODEPS)
- mkdir -p dist/linux
- GOOS=linux GOARCH=amd64 go build -tags embed -o $@ .
-
build/darwin_amd64/rescribe: $(GODEPS)
go generate
mkdir -p build/darwin_amd64
diff --git a/cmd/rescribe/xyz.rescribe.rescribe.yml b/cmd/rescribe/xyz.rescribe.rescribe.yml
index 04b8a5d..ede2676 100644
--- a/cmd/rescribe/xyz.rescribe.rescribe.yml
+++ b/cmd/rescribe/xyz.rescribe.rescribe.yml
@@ -17,8 +17,8 @@ modules:
- name: rescribe
buildsystem: simple
build-commands:
- - cd cmd/rescribe && make dist/linux/rescribe-nogenerate
- - install -Dm00755 cmd/rescribe/dist/linux/rescribe-nogenerate $FLATPAK_DEST/bin/rescribe-bin
+ - cd cmd/rescribe && GOOS=linux GOARCH=amd64 go build -tags embed .
+ - install -Dm00755 cmd/rescribe/rescribe $FLATPAK_DEST/bin/rescribe-bin
- install -Dm00644 cmd/rescribe/icon.256.png $FLATPAK_DEST/share/icons/hicolor/256x256/apps/xyz.rescribe.rescribe.png
- install -Dm00644 cmd/rescribe/xyz.rescribe.rescribe.desktop $FLATPAK_DEST/share/applications/xyz.rescribe.rescribe.desktop
- install -Dm00644 cmd/rescribe/xyz.rescribe.rescribe.appdata.xml $FLATPAK_DEST/share/appdata/xyz.rescribe.rescribe.appdata.xml