Skip to content

Commit 17c83a9

Browse files
Migrate from asciidoc to scdoc (#10)
* Migrate from asciidoc to scdoc * Added scdoc to .build.yml and removed cmake from .gitignore
1 parent 5143e8e commit 17c83a9

File tree

5 files changed

+20
-30
lines changed

5 files changed

+20
-30
lines changed

.build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
image: archlinux
22
packages:
3-
- asciidoc
3+
- scdoc
44
sources:
55
- https://github.com/KnightOS/genkfs
66
environment:

.gitignore

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
CMakeCache.txt
2-
CMakeFiles
3-
cmake_install.cmake
4-
install_manifest.txt
51
*.swp
62
*.o
73
bin/

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ bin/genkfs:main.o
66
mkdir -p bin/
77
$(CC) $(CFLAGS) $^ -o $@
88

9-
bin/genkfs.1:genkfs.1.txt
10-
a2x --no-xmllint --doctype manpage --format manpage genkfs.1.txt -v -D bin/
9+
bin/genkfs.1:genkfs.1.scdoc
10+
scdoc < genkfs.1.scdoc > bin/genkfs.1
1111

1212
DESTDIR=/usr/local
1313
BINDIR=$(DESTDIR)/bin/

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ genkfs - Writes KFS filesystems into ROM dumps
88

99
**Linux, Mac, etc.**
1010

11-
Install make, asciidoc, and a C compiler, then:
11+
Install make, scdoc, and a C compiler, then:
1212

1313
$ make
1414
# make install # as root
Lines changed: 16 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,19 @@
1-
/////
2-
vim:set ts=4 sw=4 tw=82 noet:
3-
/////
4-
genkfs (1)
5-
==========
6-
7-
Name
8-
----
1+
GENKFS(1)
2+
3+
# NAME
4+
95
genkfs - Writes KFS filesystems into ROM dumps
106

11-
Synopsis
12-
--------
13-
'genkfs' _input_ _model_
7+
# SYNOPSIS
8+
9+
*genkfs* _input_ _model_
1410

15-
Description
16-
-----------
11+
# DESCRIPTION
1712

1813
_input_ is the ROM file you would like to write the filesystem to. _model_ is a
1914
path to a directory that will be copied into / on the new filesystem.
2015

21-
Symbolic Links
22-
--------------
16+
# SYMBOLIC LINKS
2317

2418
Symbolic links are supported but have special constraints. Instead of making
2519
symlinks that make sense in the context of your model filesystem, make symlinks
@@ -31,18 +25,18 @@ filesystem does not have anything interesting at /var/target**.
3125
In other words, to make the final filesystem have that link from /var/link to
3226
/var/target, run this command on _model/_:
3327

34-
ln -s /var/target model/var/link
28+
```
29+
ln -s /var/target model/var/link
30+
```
3531

36-
Examples
37-
--------
32+
# EXAMPLES
3833

39-
genkfs input.rom ./temp::
34+
*genkfs input.rom ./temp*
4035
Creates a KFS filesystem in input.rom and copies the contents of ./temp to the
4136
root of the new filesystem.
4237

43-
Authors
44-
-------
38+
# AUTHORS
4539

4640
Maintained by Drew DeVault <[email protected]>, who is assisted by other open
4741
source contributors. For more information about genkfs development, see
48-
<https://github.com/KnightOS/genkfs>.
42+
https://github.com/KnightOS/genkfs.

0 commit comments

Comments
 (0)