-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
95bd92a
commit f8d13bf
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
|
||
install-linux: | ||
sudo mv dist/linux64/fontmake-mp /usr/local/bin/fontmake-mp | ||
|
||
install-macos: | ||
sudo mv dist/macos64/fontmake-mp /usr/local/bin/fontmake-mp | ||
|
||
# Must be executed on Linux 64bit arch system | ||
linux-build: | ||
rm *.pyc | ||
pyinstaller -c --onefile --hidden-import=fontmake --clean --distpath="dist/linux64" -n fontmake-mp fmp.py | ||
|
||
# Must be executed on macOS 64bit arch system | ||
macos-build: | ||
rm *.pyc | ||
pyinstaller -c --onefile --hidden-import=fontmake --clean --distpath="dist/macos64" -n fontmake-mp fmp.py | ||
|
||
# cross-platform uninstall for users who installed with make targets above | ||
uninstall: | ||
rm /usr/local/bin/fontmake-mp | ||
|
||
.PHONY: linux-build macos-build install-linux install-macos uninstall |