Skip to content

Commit 2b7cf7c

Browse files
committed
Rename docs/*.md -> mans/*.scd
Signed-off-by: Alexey Gladkov <legion@kernel.org>
1 parent 3227c88 commit 2b7cf7c

26 files changed

+7
-7
lines changed

Makefile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ capability_TARGETS = shell-regexp
2020
bin_TARGETS = $(filter-out shell-lib,$(wildcard shell-*))
2121
data_TARGETS = COPYING
2222

23-
mddocs_TARGETS = $(wildcard docs/shell-*.md)
24-
docs_TARGETS = docs/libshell.md $(mddocs_TARGETS)
25-
man_TARGETS = $(docs_TARGETS:.md=.3)
23+
mandocs_TARGETS = $(wildcard mans/shell-*.scd)
24+
docs_TARGETS = mans/libshell.scd $(mandocs_TARGETS)
25+
man_TARGETS = $(docs_TARGETS:.scd=.3)
2626

2727
.PHONY: $(SUBDIRS)
2828

@@ -40,7 +40,7 @@ shell-lib: ${bin_TARGETS}
4040
shell-regexp: shell-quote
4141
ln -s -- $^ $@
4242

43-
%.3: %.md
43+
%.3: %.scd
4444
@[ -z "$(SCDOC)" ] || $(SCDOC) < $< > $@
4545

4646
man: ${man_TARGETS}
@@ -100,8 +100,8 @@ check-tests:
100100
exit $$rc;
101101

102102
check-documented:
103-
@sed -n -e 's/^## \([^[:space:]]\+\)$$/\1/p' ${mddocs_TARGETS} |sort -uo "$(CURDIR)/.shell-funcs-documented"
104-
@sed -n -e 's/^\([A-Za-z][A-Za-z0-9_]\+\)().*/\1/p' ${bin_TARGETS} |sort -uo "$(CURDIR)/.shell-funcs"
103+
@sed -n -e 's/^## \([^[:space:]]\+\)$$/\1/p' ${mandocs_TARGETS} |sort -uo "$(CURDIR)/.shell-funcs-documented"
104+
@sed -n -e 's/^\([A-Za-z][A-Za-z0-9_]\+\)().*/\1/p' ${bin_TARGETS} |sort -uo "$(CURDIR)/.shell-funcs"
105105
@comm -13 \
106106
"$(CURDIR)/.shell-funcs-documented" \
107107
"$(CURDIR)/.shell-funcs" \

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Install dependencies:
1414

1515
## Documentation
1616

17-
See [docs](docs/libshell.md)
17+
See [docs](mans/libshell.scd)
1818

1919
## LICENSE
2020

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)