Skip to content

Commit 080b982

Browse files
committed
ADD: make file
1 parent ee7ee74 commit 080b982

File tree

9 files changed

+38
-610
lines changed

9 files changed

+38
-610
lines changed

Makefile

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
RUST_BOOK_ID := ffi-rust rust-untuk-web
2+
3+
.PHONY: all $(RUST_BOOK_ID)
4+
5+
all: $(RUST_BOOK_ID)
6+
7+
clean: $(RUST_BOOK_ID)
8+
9+
$(RUST_BOOK_ID):
10+
$(MAKE) -C $@ $(MAKECMDGOALS)

README.md

+5
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
Repo ini berisi beberapa buku sederhana tentang Rust. Buku-buku ini dikembangkan oleh komunitas Rust Indonesia. Buku-buku ini ditulis menggunakan Markdown dan dikembangkan menggunakan tool [Crowbook](https://github.com/lise-henry/crowbook)
44

5+
# Dependensi
6+
7+
* crowbook
8+
* xelatex
9+
510
# Lisensi
611

712
[CC-BY-SA-4.0](LICENSE.md)

ffi-rust/Makefile

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
BOOK_FILE := rust-ffi.book
2+
3+
.PHONY: all build clean
4+
5+
all: build
6+
7+
build:
8+
@crowbook $(BOOK_FILE)
9+
10+
clean:
11+
@rm hasil/*

ffi-rust/gambar/sampul.jpg

24 KB
Loading

ffi-rust/rust-ffi.book

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
author: anak10thn
22
title: FFI Rust
3-
lang: id
43

54
# Uncomment and fill to generate files
65
output.html: hasil/rust-ffi-id.html
76
output.epub: hasil/rust-ffi-id.epub
87
output.pdf: hasil/rust-ffi-id.pdf
98

109
# Uncomment and fill to set cover image (for Epub)
11-
cover: gambar/sampul.png
10+
cover: gambar/sampul.jpg
1211

1312
# List of chapters
1413
+ bab-01.md

rust-untuk-web/Makefile

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
BOOK_FILE := rust-web.book
2+
3+
.PHONY: all build clean
4+
5+
all: build
6+
7+
build:
8+
@crowbook $(BOOK_FILE)
9+
10+
clean:
11+
@rm hasil/*
-20.1 KB
Binary file not shown.

0 commit comments

Comments
 (0)