-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Sora Morimoto <sora@morimoto.io>
- Loading branch information
Showing
17 changed files
with
43 additions
and
197 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
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,72 +1,6 @@ | ||
.DS_Store | ||
\#* | ||
.\#* | ||
*~ | ||
*.exe | ||
*.tex | ||
*.log | ||
*.aux | ||
*.dvi | ||
*.out | ||
*.html | ||
obsolete/*.txt | ||
old/ | ||
*.png | ||
satysfi | ||
*.ttf | ||
*.otf | ||
*.ttc | ||
*.dfont | ||
*.afm | ||
*.t1a | ||
*.svg | ||
!/logo/macrodown.svg | ||
*.dat | ||
*.ttx | ||
*.jpg | ||
!/demo/satysfi-logo.jpg | ||
!/tests/images/satysfi-logo-cmyk.jpg | ||
!/tests/images/satysfi-logo-gray.jpg | ||
!/tests/images/satysfi-logo-rgb.jpg | ||
!/tests/images/peppers-cmyk.jpg | ||
!/tests/images/peppers-gray.jpg | ||
!/tests/images/peppers-rgb.jpg | ||
*.satysfi-aux | ||
external/ | ||
|
||
# Created by https://www.toptal.com/developers/gitignore/api/ocaml | ||
# Edit at https://www.toptal.com/developers/gitignore?templates=ocaml | ||
|
||
### OCaml ### | ||
*.annot | ||
*.cmo | ||
*.cma | ||
*.cmi | ||
*.a | ||
*.o | ||
*.cmx | ||
*.cmxs | ||
*.cmxa | ||
|
||
# ocamlbuild working directory | ||
_build/ | ||
|
||
# ocamlbuild targets | ||
*.byte | ||
*.native | ||
|
||
# oasis generated files | ||
setup.data | ||
setup.log | ||
|
||
# Merlin configuring file for Vim and Emacs | ||
.merlin | ||
|
||
# Dune generated files | ||
*.install | ||
|
||
# Local OPAM switch | ||
_opam | ||
|
||
# End of https://www.toptal.com/developers/gitignore/api/ocaml | ||
/_build/ | ||
/_opam/ | ||
/lib-satysfi/dist/fonts/ | ||
/temp/IPAexfont00401/ | ||
/temp/latinmodern-math-1959/ | ||
/temp/*.zip |
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,27 +1,17 @@ | ||
PREFIX=/usr/local | ||
LIBDIR=$(PREFIX)/share/satysfi | ||
TARGET=satysfi | ||
BINDIR=$(PREFIX)/bin | ||
RM=rm -f | ||
DUNE=dune | ||
|
||
.PHONY: all install lib uninstall clean | ||
.PHONY: all clean install uninstall | ||
|
||
all: | ||
$(DUNE) build --root . | ||
cp _build/install/default/bin/$(TARGET) . | ||
dune build | ||
|
||
install: $(TARGET) | ||
mkdir -p $(BINDIR) | ||
install $(TARGET) $(BINDIR) | ||
clean: | ||
dune clean | ||
|
||
#preliminary: | ||
# [ -d .git ] && git submodule update -i || echo "Skip git submodule update -i" | ||
install: | ||
dune install --bindir=$(BINDIR) | ||
|
||
uninstall: | ||
rm -rf $(BINDIR)/$(TARGET) | ||
rm -rf $(LIBDIR) | ||
|
||
clean: | ||
$(DUNE) clean | ||
$(RM) satysfi | ||
dune uninstall --bindir=$(BINDIR) |
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,4 +1,4 @@ | ||
#!/bin/sh | ||
#!/usr/bin/env bash | ||
|
||
set -ue | ||
|
||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/sh | ||
#!/usr/bin/env bash | ||
|
||
LIBDIR=${1:-/usr/local/share/satysfi} | ||
|
||
|
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,4 @@ | ||
let version = | ||
match Build_info.V1.version () with | ||
| None -> "dev" | ||
| Some v -> Build_info.V1.Version.to_string v |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.