diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9101272 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +easyrsa3/pki/* +easyrsa3/vars diff --git a/build/build-dist.sh b/build/build-dist.sh index dfc2c7d..5f60348 100755 --- a/build/build-dist.sh +++ b/build/build-dist.sh @@ -69,7 +69,7 @@ stage_unix() { mkdir -p "$DIST_ROOT/unix/$PV" # Copy files into $PV, starting with easyrsa3 as the initial root dir - src_files="easyrsa3/ Licensing/ COPYING.md ChangeLog README.quickstart.md" + src_files="easyrsa3/ Licensing/ COPYING.md ChangeLog README.md README.quickstart.md" for f in $src_files do cp -a "$SRC_ROOT/$f" "$DIST_ROOT/unix/$PV" || die "failed to copy $f" @@ -94,9 +94,12 @@ stage_win() { python -m markdown "$f" > "$DIST_ROOT/windows/$PV/doc/$fname.html" done - python -m markdown "$SRC_ROOT/README.quickstart.md" > "$DIST_ROOT/windows/$PV/README.quickstart.html" + for f in "README" "README.quickstart" "COPYING" + do + python -m markdown $SRC_ROOT/$f.md > $DIST_ROOT/windows/$PV/$f.html + done # Copy files into $PV, starting with easyrsa3 as the initial root dir - src_files="easyrsa3/ COPYING.md ChangeLog" + src_files="easyrsa3/ ChangeLog COPYING.md" for f in $src_files do cp -a "$SRC_ROOT/$f" "$DIST_ROOT/windows/$PV" || die "failed to copy $f"