Skip to content

Commit fa9a91d

Browse files
Merge pull request #3 from na4zagin3/add-doc-package
Add satysfi-bibyfi-doc.opam
2 parents c6e348b + 908c3ce commit fa9a91d

File tree

5 files changed

+54
-6
lines changed

5 files changed

+54
-6
lines changed

Satyristes

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,14 @@
1414
(version "0.0.1") ;
1515
(workingDirectory "example")
1616
(build
17-
((make "-f" "Makefile"))))
17+
((make "-f" "Makefile")))
18+
(sources
19+
((doc "LICENSE" "LICENSE")
20+
(doc "README.md" "README.md")
21+
(doc "example-bib.satyh" "example-bib.satyh")
22+
(doc "examples/cite-as-number.saty" "example/cite-as-number.saty")
23+
(doc "examples/cite-as-number.pdf" "example/cite-as-number.pdf")
24+
(doc "examples/cite-with-name.saty" "example/cite-with-name.saty")
25+
(doc "examples/cite-with-name.pdf" "example/cite-with-name.pdf")))
26+
(opam "satysfi-bibyfi-doc.opam")
27+
(dependencies ((bibyfi ()))))

example/Makefile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
11
SOURCES=$(wildcard *.saty)
22
TARGETS=$(patsubst %.saty,%.pdf,$(SOURCES))
33

4+
SATYSFI_OPTS+=-b
5+
6+
ifdef SATYSFI_RUNTIME
7+
SATYSFI_OPTS+=-C "$(SATYSFI_RUNTIME)"
8+
endif
9+
410
.PHONY: all
511

612
all: $(TARGETS)
713

814
%.pdf: %.saty
9-
satysfi -b $< -o $@
15+
satysfi $(SATYSFI_OPTS) $< -o $@
1016

1117
.PHONY: clean
1218

example/cite-as-number.saty

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@require: stdjareport
2+
@require: bibyfi/bibyfi
3+
@require: bibyfi/bibyfi-IEEETran
24
@import: ../example-bib
3-
@import: ../bibyfi
4-
@import: ../bibyfi-IEEETran
55

66
let bibyfi-theme = BiByFiIEEETran.theme (|
77
name-shrink = true;

example/cite-with-name.saty

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@require: stdjareport
2+
@require: bibyfi/bibyfi
3+
@require: bibyfi/bibyfi-IEEETran
24
@import: ../example-bib
3-
@import: ../bibyfi
4-
@import: ../bibyfi-IEEETran
55

66
let bibyfi-theme = BiByFiIEEETran.theme (|
77
name-shrink = true;

satysfi-bibyfi-doc.opam

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
opam-version: "2.0"
2+
name: "satysfi-bibyfi-doc"
3+
version: "0.0.1"
4+
synopsis: "Document: A bibliography framework for SATySFi"
5+
maintainer: "Nakano Masaki<namachan10777@gmail.com>"
6+
authors: [
7+
"Nakano Masaki<namachan10777@gmail.com>"
8+
"T. Suwa"
9+
]
10+
homepage: "https://github.com/namachan10777/BiByFi"
11+
bug-reports: "https://github.com/namachan10777/BiByFi/issues"
12+
dev-repo: "git+https://github.com/namachan10777/BiByFi.git"
13+
depends: [
14+
"satysfi" {>= "0.0.3" & < "0.0.5"}
15+
"satyrographos" {>= "0.0.2.3" & < "0.0.3"}
16+
"satysfi-dist"
17+
18+
# You may want to include the corresponding library
19+
"satysfi-bibyfi" {= "%{version}%"}
20+
]
21+
build: [
22+
["satyrographos" "opam" "build"
23+
"-name" "bibyfi-doc"
24+
"-prefix" "%{prefix}%"
25+
"-script" "%{build}%/Satyristes"]
26+
]
27+
install: [
28+
["satyrographos" "opam" "install"
29+
"-name" "bibyfi-doc"
30+
"-prefix" "%{prefix}%"
31+
"-script" "%{build}%/Satyristes"]
32+
]

0 commit comments

Comments
 (0)