diff options
| author | Douglas B. Rumbaugh <doug@douglasrumbaugh.com> | 2026-06-06 12:02:41 -0400 |
|---|---|---|
| committer | Douglas B. Rumbaugh <doug@douglasrumbaugh.com> | 2026-06-06 12:02:41 -0400 |
| commit | eabf1f6d74dac497ce31e3e2f441cfa25e9f74f2 (patch) | |
| tree | 626d64c3574cfbc7cc38eae6d142ef22b21cf59b /Makefile | |
| parent | 8351a1da3f56cde9939b934bc5533a95aff1c95e (diff) | |
| download | bibutils-eabf1f6d74dac497ce31e3e2f441cfa25e9f74f2.tar.gz | |
Initial implementation (only a few years later!)
This is pure Claude. I'd written out the plan for
this suite of scripts eons ago, but never found the
time to actual do it. Remembered it this morning,
pointed Claude at the README, and had something
that appears to work in minutes.
caveat emptor: the design is mine, but the code is
purely LLM generated at this point.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..079df9f --- /dev/null +++ b/Makefile @@ -0,0 +1,27 @@ +PREFIX = /usr/local +BINDIR = $(PREFIX)/bin +LIBDIR = $(PREFIX)/share/bibutils + +SCRIPTS = bib-util bib-add bib-check bib-convert bib-extract bib-fetch \ + bib-gen bib-key bib-ls +LIBS = lib/bib-parse.awk lib/bib-canon.awk lib/bib-select.awk \ + lib/bib-lskeys.awk lib/bib-key.awk lib/bib-ls.awk \ + lib/bib-check.awk lib/bib2ref.awk lib/ref2bib.awk + +all: + @echo "nothing to build; run 'make test' or 'make install'" + +test: + tests/run-tests.sh + tests/integration.sh + +install: + -mkdir -p $(BINDIR) $(LIBDIR) + cp $(SCRIPTS) $(BINDIR) + cp $(LIBS) $(LIBDIR) + +uninstall: + cd $(BINDIR) && rm -f $(SCRIPTS) + rm -rf $(LIBDIR) + +.PHONY: all test install uninstall |