-
Notifications
You must be signed in to change notification settings - Fork 0
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
66dd786
commit 33eb3c9
Showing
3 changed files
with
68 additions
and
5 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 |
---|---|---|
@@ -1,9 +1,17 @@ | ||
|
||
NAME = nspire-merge | ||
|
||
SHELL = /bin/sh | ||
RM = rm | ||
PREFIX ?= /usr/local | ||
|
||
deps: | ||
pip install Pillow | ||
|
||
install: | ||
install -Dm755 ./nspire-merge "$(DESTDIR)$(PREFIX)/bin/nspire-merge" | ||
install -Dm755 $(NAME) "$(DESTDIR)$(PREFIX)/bin/$(NAME)" | ||
install -Dm644 $(NAME).1 "$(DESTDIR)$(PREFIX)/share/man/man1/$(NAME).1" | ||
|
||
uninstall: | ||
$(RM) "$(DESTDIR)$(PREFIX)/bin/nspire-merge" | ||
|
||
$(RM) "$(DESTDIR)$(PREFIX)/bin/$(NAME)" | ||
$(RM) "$(DESTDIR)$(PREFIX)/share/man/man1/$(NAME).1" |
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
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,37 @@ | ||
.TH "nspire-merge" "1" | ||
|
||
.SH "NAME" | ||
.PP | ||
nspire-merge - merging multiple Lua source files and images into one Lua file for TI-Nspire projects | ||
|
||
.SH "SYNOPSIS" | ||
.PP | ||
shclrz [OPTIONS] [INPUT FILES ...] | ||
|
||
.SH "OPTIONS" | ||
.SS "-h, --help" | ||
.PP | ||
Print help. | ||
.SS "--resources [RESOURCES]" | ||
.PP | ||
Load images from this folder (default "res/"). | ||
.SS "--out [OUT] | ||
.PP | ||
Specify file to write the output to (default "out.lua"). | ||
.SS "--strip" | ||
.PP | ||
Strips blank lines and comments. | ||
.SS "--api-version [API VERSION]" | ||
Specifies API version (default '2.2'). | ||
|
||
.SH "EXAMPLES" | ||
.SS "nspire-merge --out myproject.lua -- main.lua gui.lua" | ||
.PP | ||
Generates "myproject.lua" from "main.lua" and "gui.lua" (in this order) and images from "res/". | ||
.SS "nspire-merge --api-version 2.1 --strip -- *.lua" | ||
.PP | ||
Generates "out.lua" from all Lua files in the folder, strips all blank lines and comments from it and sets the API version to "2.1". | ||
|
||
.SH "AUTHOR" | ||
.PP | ||
alexcoder04 (\fIhttps://github.com/alexcoder04/nspire-merge\fP) |