alexkarle.com

Source for alexkarle.com
git clone git://git.alexkarle.com/alexkarle.com.git
Log | Files | Refs | README | LICENSE

commit 4d70994cc2ec8f5d731055182f315d52377d1af3 (patch)
parent 28b641c39e2610261f35ddea84425b20164dd04e
Author: Alex Karle <alex@alexkarle.com>
Date:   Sun, 25 Apr 2021 12:26:43 -0400

cleanup: Move gen* scripts to bin/

Now that I've introduced src/kiosk.c (our first directory!), it feels
natural to move scripts to bin/ (especially as I look to add more...)

Diffstat:
M.gitignore | 6+++---
MMakefile | 5++---
Rgenatom.sh -> bin/genatom.sh | 0
Rgengopher.sh -> bin/gengopher.sh | 0
Muse-feeds.7 | 2+-
5 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/.gitignore b/.gitignore @@ -1,11 +1,11 @@ # generated html from man pages *.html -# atom feed is generated by ./genatom.sh +# atom feed is generated by ./bin/genatom.sh atom.xml # jam-tuesday hits generated by jam-tuesday/stats.sh jam-tuesday/greatest-hits -# binaries -bin/ +# kiosk binary +bin/kiosk diff --git a/Makefile b/Makefile @@ -22,14 +22,13 @@ clean: index.html: ln -sf intro.html $@ -atom.xml: blog.7 genatom.sh - ./genatom.sh > $@ +atom.xml: blog.7 bin/genatom.sh + ./bin/genatom.sh > $@ jam-tuesday/greatest-hits: $(SETS) jam-tuesday/stats.sh (date; echo; ./jam-tuesday/stats.sh) > $@ bin/kiosk: src/kiosk.c - mkdir -p bin $(CC) $(CFLAGS) -DMANDIR="\"`pwd`\"" src/kiosk.c -o $@ $(HTML): Makefile diff --git a/genatom.sh b/bin/genatom.sh diff --git a/gengopher.sh b/bin/gengopher.sh diff --git a/use-feeds.7 b/use-feeds.7 @@ -88,7 +88,7 @@ What I can say is that after the initial confusion of how to escape the embedded HTML in the XML feed, it was pretty smooth sailing. .Pp The full implementation is in -.Lk https://alexkarle.com/git/alexkarle.com/file/genatom.sh.html genatom.sh +.Lk https://alexkarle.com/git/alexkarle.com/file/bin/genatom.sh.html genatom.sh and basically boils down to: .Bl -enum -compact .It