tiny lisp
git clone git://edryd.org/tisp
Log | Files | Refs | LICENSE

commit 5d500e6f515f714ed923900692457590ee44272c
parent d41938e18009f83f848220843c3ab0cae9ecd8e5
Author: Ed van Bruggen <edvb@uw.edu>
Date:   Mon, 30 Mar 2020 23:45:44 -0700

Add executable as dependency for man page recipe

markman uses help message in executable to generate its synopsis so
needs to be compiled in order to run and generate correctly

Makefile | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile @@ -98,9 +98,9 @@ test: $(OBJ) $(LIB) test.o @$(CC) -o test tisp.o $(TIB:.c=.o) test.o $(LDFLAGS) @./test -man: +man: $(EXE) @echo updating man page doc/$(EXE).1 - @markman -nCD -t TISP -V "$(VERSION)" -d "`date '+%B %Y'`" \ + @markman -nCD -t TISP -V "$(EXE) $(VERSION)" -d "`date '+%B %Y'`" \ -s "`./$(EXE) -h 2>&1 | cut -d' ' -f2-`" doc/$(EXE).1.md > doc/$(EXE).1 .PHONY: all options clean dist install uninstall test man