From 0ab54b5a51b5dee2b70c8476abe84ecc5f87d578 Mon Sep 17 00:00:00 2001 From: mle Date: Mon, 2 Dec 2019 14:12:27 +0100 Subject: [PATCH] rename "doc" dir Was "man" but it contains non-manpage docs too --- .gitmodules | 4 ++-- Makefile | 8 ++++---- {man => doc}/Badges.md | 0 {man => doc}/Installation.md | 0 {man => doc}/man-to-md | 0 {man => doc}/man-to-md.pl | 0 {man => doc}/walk.1 | 0 7 files changed, 6 insertions(+), 6 deletions(-) rename {man => doc}/Badges.md (100%) rename {man => doc}/Installation.md (100%) rename {man => doc}/man-to-md (100%) rename {man => doc}/man-to-md.pl (100%) rename {man => doc}/walk.1 (100%) diff --git a/.gitmodules b/.gitmodules index a53266f..bce30b6 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,6 +1,6 @@ [submodule "test/framework"] path = test/framework url = https://github.com/mle86/sh-tests -[submodule "man/man-to-md"] - path = man/man-to-md +[submodule "doc/man-to-md"] + path = doc/man-to-md url = https://github.com/mle86/man-to-md diff --git a/Makefile b/Makefile index 5360f79..55b9a5c 100644 --- a/Makefile +++ b/Makefile @@ -11,14 +11,14 @@ test: git submodule update --init test/framework/ test/run-all-tests.sh -README.md: man/walk.1 man/*.md - git submodule update --init man/man-to-md/ - perl man/man-to-md.pl --comment --formatted-code --paste-after HEADLINE:'Badges.md' --paste-section-after DESCRIPTION:'Installation.md' <$< >$@ +README.md: doc/walk.1 doc/*.md + git submodule update --init doc/man-to-md/ + perl doc/man-to-md.pl --comment --formatted-code --paste-after HEADLINE:'Badges.md' --paste-section-after DESCRIPTION:'Installation.md' <$< >$@ install: mkdir -p /usr/local/share/man/man1 - cp man/walk.1 /usr/local/share/man/man1/ + cp doc/walk.1 /usr/local/share/man/man1/ chmod 0644 /usr/local/share/man/man1/walk.1 gzip -f /usr/local/share/man/man1/walk.1 diff --git a/man/Badges.md b/doc/Badges.md similarity index 100% rename from man/Badges.md rename to doc/Badges.md diff --git a/man/Installation.md b/doc/Installation.md similarity index 100% rename from man/Installation.md rename to doc/Installation.md diff --git a/man/man-to-md b/doc/man-to-md similarity index 100% rename from man/man-to-md rename to doc/man-to-md diff --git a/man/man-to-md.pl b/doc/man-to-md.pl similarity index 100% rename from man/man-to-md.pl rename to doc/man-to-md.pl diff --git a/man/walk.1 b/doc/walk.1 similarity index 100% rename from man/walk.1 rename to doc/walk.1