Update README
This commit is contained in:
parent
e9849380ea
commit
e16da37017
50
Makefile
50
Makefile
@ -1,50 +0,0 @@
|
|||||||
appname := yomichan-import
|
|
||||||
sources := $(wildcard *.go)
|
|
||||||
|
|
||||||
build = GOOS=$(1) GOARCH=$(2) go build -o build/$(appname)$(3)
|
|
||||||
tar = cd build && tar -cvzf $(appname)_$(1)_$(2).tar.gz $(appname)$(3) && rm $(appname)$(3)
|
|
||||||
zip = cd build && zip $(appname)_$(1)_$(2).zip $(appname)$(3) && rm $(appname)$(3)
|
|
||||||
|
|
||||||
.PHONY: all windows darwin linux clean
|
|
||||||
|
|
||||||
all: windows darwin linux
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -rf build/
|
|
||||||
|
|
||||||
# linux builds
|
|
||||||
linux: build/$(appname)_linux_arm.tar.gz build/$(appname)_linux_arm64.tar.gz build/$(appname)_linux_386.tar.gz build/$(appname)_linux_amd64.tar.gz
|
|
||||||
|
|
||||||
build/$(appname)_linux_386.tar.gz: $(sources)
|
|
||||||
$(call build,linux,386,)
|
|
||||||
$(call tar,linux,386)
|
|
||||||
|
|
||||||
build/$(appname)_linux_amd64.tar.gz: $(sources)
|
|
||||||
$(call build,linux,amd64,)
|
|
||||||
$(call tar,linux,amd64)
|
|
||||||
|
|
||||||
build/$(appname)_linux_arm.tar.gz: $(sources)
|
|
||||||
$(call build,linux,arm,)
|
|
||||||
$(call tar,linux,arm)
|
|
||||||
|
|
||||||
build/$(appname)_linux_arm64.tar.gz: $(sources)
|
|
||||||
$(call build,linux,arm64,)
|
|
||||||
$(call tar,linux,arm64)
|
|
||||||
|
|
||||||
# darwin builds
|
|
||||||
darwin: build/$(appname)_darwin_amd64.tar.gz
|
|
||||||
|
|
||||||
build/$(appname)_darwin_amd64.tar.gz: $(sources)
|
|
||||||
$(call build,darwin,amd64,)
|
|
||||||
$(call tar,darwin,amd64)
|
|
||||||
|
|
||||||
# windows builds
|
|
||||||
windows: build/$(appname)_windows_386.zip build/$(appname)_windows_amd64.zip
|
|
||||||
|
|
||||||
build/$(appname)_windows_386.zip: $(sources)
|
|
||||||
$(call build,windows,386,.exe)
|
|
||||||
$(call zip,windows,386,.exe)
|
|
||||||
|
|
||||||
build/$(appname)_windows_amd64.zip: $(sources)
|
|
||||||
$(call build,windows,amd64,.exe)
|
|
||||||
$(call zip,windows,amd64,.exe)
|
|
@ -43,7 +43,7 @@ Follow the steps outlined below to import your custom dictionary into Yomichan:
|
|||||||
1. Launch the `yomichan-gtk` executable after extracting the entire archive (or `yomichan` from the command line).
|
1. Launch the `yomichan-gtk` executable after extracting the entire archive (or `yomichan` from the command line).
|
||||||
2. Specify the source path of the dictionary you wish to convert.
|
2. Specify the source path of the dictionary you wish to convert.
|
||||||
3. Specify the target path of the dictionary ZIP archive that you wish to create.
|
3. Specify the target path of the dictionary ZIP archive that you wish to create.
|
||||||
4. Press the button labeled *Import dictionary...* and wait for processing to complete.
|
4. Press the button labeled `Import dictionary...` and wait for processing to complete.
|
||||||
5. On the Yomichan options page, browse to the dictionary ZIP archive file you created.
|
5. On the Yomichan options page, browse to the dictionary ZIP archive file you created.
|
||||||
6. Wait for the import progress to complete before closing the options page.
|
6. Wait for the import progress to complete before closing the options page.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user