diff options
| author | Sean Kurtz <seankurtz75@gmail.com> | 2026-11-23 11:31:53 -0600 |
|---|---|---|
| committer | Sean Kurtz <seankurtz75@gmail.com> | 2026-11-23 11:31:53 -0600 |
| commit | 2161b3c2de4eec4cc5f28cbf683f25acd3c7dbef (patch) | |
| tree | 7706bdadcd2f70c566c5f668209ff048052a29b9 | |
| parent | aacecb3a8593ec0a92809be15b12211befb9e9f5 (diff) | |
| download | zash-2161b3c2de4eec4cc5f28cbf683f25acd3c7dbef.tar.gz | |
make: add other-docs, and bring the usage comment up to date
make other-docs runs the documentation that needs a tool z/OS does not
have: the specification through typst, the source reference through
Doxygen.
The comment at the top listed fourteen of the targets and missed the
rest; it lists them all now, grouped the way the file is, with the
argument each one takes where it takes one. Doxygen's output is doc/,
not docs/, which the comment had wrong.
| -rw-r--r-- | Makefile | 30 |
1 files changed, 25 insertions, 5 deletions
@@ -11,18 +11,34 @@ # # make build ./zash (Linux: clang, posix_spawn) # make check run the test suite against ./zash -# make asan build ./zash-asan (ASan + UBSan) and test it +# make asan build ./zash-asan, run the suite under ASan + UBSan # make valgrind run the test suite under Valgrind +# make coverage line coverage of the suite, gcc and gcov, into cov/ # make bench compare against other shells +# make fuzz fuzz the MVS decoders for FUZZTIME seconds (60) # make compdb write compile_commands.json for clangd +# make format clang-format the sources +# make tidy clang-tidy the sources (runs compdb first) +# make debug ./zash-debug under lldb (ARGS='-c "echo hi"') +# make attach lldb -p $(PID) +# make install copy ./zash into $(DESTDIR)$(BINDIR) +# make clean remove what the targets above write +# +# make spec typeset formal/zash-spec.pdf with typst +# make doc the source reference, Doxygen into doc/ +# make other-docs spec and doc: the documentation tools z/OS lacks +# # make zos-ascii z/OS build, ASCII program (IBM Open XL C/C++) # make zos-ebcdic z/OS build, EBCDIC program # make zos-check z/OS: the functional tests, then the EBCDIC ones # make zos-heapcheck z/OS: the same tests under LE heap checking +# make zos-lint compile the z/OS code paths on Linux, shim headers +# make mvs-asan the suite with SYS_MVS forced on, under ASan # make zos-debug z/OS debug build ./zash-dbg (dbx wants -g) -# make zos-dbx z/OS: run ./zash-dbg under dbx +# make zos-dbx z/OS: ./zash-dbg under dbx (ARGS='-c "echo hi"') +# make zos-attach z/OS: dbx -a $(PID) +# make zos-dump z/OS: read an SVC or SYSMDUMP dump (DUMP=file) # make zos-amblist z/OS: map the program object's CSECTs with AMBLIST -# make format / tidy CC = clang CSTD = -std=c17 @@ -271,6 +287,10 @@ doc: spec: sh scripts/spec-pdf.sh +# The documentation that needs a tool z/OS does not have: typst for the +# specification, Doxygen for the source reference. +other-docs: spec doc + tidy: compdb $(CLANG_TIDY) $(COMMON) src/sys_$(SYS).c @@ -284,7 +304,7 @@ clean: rm -f zash.amblist zos_csi.amblist rm -rf doc cov -.PHONY: fuzz zos-lint mvs-asan all check asan valgrind bench compdb format tidy doc \ - coverage install clean spec \ +.PHONY: fuzz zos-lint mvs-asan all check asan valgrind bench compdb format tidy \ + doc spec other-docs coverage install clean \ zos-ascii zos-ebcdic zos-check zos-heapcheck zos-debug zos-dbx \ zos-attach zos-dump zos-amblist |
