Skip to content

Commit ecd8e2c

Browse files
ericonrflexibeast
authored andcommitted
Move misc resources into res/.
Clean up repository root.
1 parent 2896061 commit ecd8e2c

10 files changed

+14
-14
lines changed

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
book/
22
mandoc/
3-
void-docs
4-
void-docs.1
3+
res/void-docs
4+
res/void-docs.1

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
language: bash
33

44
script:
5-
- ci/format.sh
5+
- res/ci/format.sh
66

77
notifications:
88
email: false

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ the same protocol as the packages tree. For details, please read
77

88
## Building
99

10-
The [build.sh](./build.sh) script builds HTML, roff and PDF versions of the Void
11-
documentation and the `void-docs.1` man page. It requires the following Void
12-
packages:
10+
The [res/build.sh](./res/build.sh) script builds HTML, roff and PDF versions of
11+
the Void documentation and the `void-docs.1` man page. It requires the following
12+
Void packages:
1313

1414
- `mdBook`
1515
- `fd`
@@ -19,5 +19,5 @@ packages:
1919
- `perl-JSON`
2020

2121
In order to build ans install everything, set the `PREFIX` and `DESTDIR`
22-
environment variables to appropriate values and run `build.sh` followed by
23-
`install.sh`.
22+
environment variables to appropriate values and run `res/build.sh` followed by
23+
`res/install.sh`.

build.sh renamed to res/build.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
: "${PREFIX:=/usr/local}"
44

55
set -e
6-
PATH="$PWD:$PATH"
6+
PATH="$PWD/res:$PATH"
77

88
# Build HTML mdbook
99
echo "Building mdBook"
@@ -24,8 +24,8 @@ cd -
2424

2525
# Build script
2626
echo "Building void-docs script and man page"
27-
sed -e "s,@PREFIX@,$PREFIX," void-docs.in > void-docs
28-
sed -e "s,@PREFIX@,$PREFIX," void-docs.1.in > void-docs.1
27+
sed -e "s,@PREFIX@,$PREFIX," res/void-docs.in > res/void-docs
28+
sed -e "s,@PREFIX@,$PREFIX," res/void-docs.1.in > res/void-docs.1
2929

3030
# Build PDF
3131
echo "Building PDF"
File renamed without changes.

ci/format.sh renamed to res/ci/format.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ fi
5353
# Check SUMMARY.md
5454
echo ""
5555
echo "Checking SUMMARY.md"
56-
./ci/check-summary.sh
56+
res/ci/check-summary.sh
5757
SUMMARY=$?
5858

5959
# Generate exit value

install.sh renamed to res/install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ cp -r book/html $DOC/html
1414

1515
cp -r mandoc/ $DOC/mandoc
1616

17-
install -Dm0644 void-docs.1 ${DESTDIR}${PREFIX}/share/man/man1/
18-
install -Dm0755 void-docs ${DESTDIR}${PREFIX}/bin/
17+
install -Dm0644 res/void-docs.1 ${DESTDIR}${PREFIX}/share/man/man1/
18+
install -Dm0755 res/void-docs ${DESTDIR}${PREFIX}/bin/
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)