Skip to content

Commit

Permalink
rename "doc" dir
Browse files Browse the repository at this point in the history
Was "man" but it contains non-manpage docs too
  • Loading branch information
mle86 committed Dec 2, 2019
1 parent 1a3f46b commit 0ab54b5
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -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
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 0ab54b5

Please sign in to comment.