diff --git a/Makefile b/Makefile index 92fcf51..44944c3 100644 --- a/Makefile +++ b/Makefile @@ -31,6 +31,7 @@ install: build install-data install-docs install-examples install-manpages install -c -m 755 bin/retro-unu $(DESTDIR)$(PREFIX)/bin/retro-unu install -c -m 755 bin/retro-describe $(DESTDIR)$(PREFIX)/bin/retro-describe install -c -m 755 bin/retro-document $(DESTDIR)$(PREFIX)/bin/retro-document + install -c -m 755 example/retro-tags.forth $(DESTDIR)$(PREFIX)/bin/retro-tags install-strip: build install-data install-docs install-examples install -m 755 -d -- $(DESTDIR)/bin @@ -41,6 +42,7 @@ install-strip: build install-data install-docs install-examples install -c -m 755 -s bin/retro-unu $(DESTDIR)$(PREFIX)/bin/retro-unu install -c -m 755 bin/retro-describe $(DESTDIR)$(PREFIX)/bin/retro-describe install -c -m 755 bin/retro-document $(DESTDIR)$(PREFIX)/bin/retro-document + install -c -m 755 example/retro-tags.forth $(DESTDIR)$(PREFIX)/bin/retro-tags install-data: install -m 755 -d -- $(DESTDIR)$(DATADIR) @@ -68,6 +70,7 @@ install-manpages: install -c -m 644 man/retro-document.1 $(MANDIR)/retro-document.1 install -c -m 644 man/retro-muri.1 $(MANDIR)/retro-muri.1 install -c -m 644 man/retro-unu.1 $(MANDIR)/retro-unu.1 + install -c -m 644 man/retro-tags.1 $(MANDIR)/retro-tags.1 test: bin/retro ./bin/retro tests/test-core.forth diff --git a/example/retro-tags.forth b/example/retro-tags.forth index 085940f..af4bd9e 100755 --- a/example/retro-tags.forth +++ b/example/retro-tags.forth @@ -2,7 +2,7 @@ # ------------------------------------------------------------ -rm tags +rm -f tags touch tags for f in *.forth; do retro $0 "$f" >>tags ; done for f in *.retro; do retro $0 "$f" >>tags ; done diff --git a/man/retro-tags.1 b/man/retro-tags.1 new file mode 100644 index 0000000..f279929 --- /dev/null +++ b/man/retro-tags.1 @@ -0,0 +1,18 @@ +.Dd August 2019 +.Dt RETRO-TAGS 1 +.Os +.Sh RETRO-TAGS +.Nm retro-tags +.Nd "a modern, pragmatic forth development system" +.Sh SYNOPSIS +.Nm +.Sh DESCRIPTION +RETRO is a modern, pragmatic Forth drawing influences from many +sources. It's clean, elegant, tiny, and easy to grasp and adapt +to various uses. + +.Nm +is a tool for extracting code from fenced blocks in literate +sources and generating a tags file compatible with ctags. +.Sh AUTHORS +.An Charles Childers Aq Mt crc@forthworks.com