From eabf1f6d74dac497ce31e3e2f441cfa25e9f74f2 Mon Sep 17 00:00:00 2001 From: "Douglas B. Rumbaugh" Date: Sat, 6 Jun 2026 12:02:41 -0400 Subject: 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. --- Makefile | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Makefile (limited to 'Makefile') 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 -- cgit v1.2.3