From c401b3d4af2462e96aa327f1282e2882aa94609a Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Tue, 15 Dec 2020 23:52:37 -0500 Subject: Add bibsort My first perl script! hi doesn't have syntax highlighting for perl, and I don't think I could sanely implement it, but oh well. --- bin/Makefile | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'bin/Makefile') diff --git a/bin/Makefile b/bin/Makefile index 3ba877c1..5691b0fc 100644 --- a/bin/Makefile +++ b/bin/Makefile @@ -20,6 +20,7 @@ LDLIBS.title = -lcurl -include config.mk BINS += beef +BINS += bibsort BINS += bit BINS += c BINS += dtch @@ -65,12 +66,18 @@ tls: meta ${BINS_TLS} meta: .gitignore tags +.SUFFIXES: .pl + .c: ${CC} ${CFLAGS} ${LDFLAGS} $< ${LDLIBS.$@} -o $@ .o: ${CC} ${LDFLAGS} $< ${LDLIBS.$@} -o $@ +.pl: + cp -f $< $@ + chmod a+x $@ + hi: hi.c ${CC} ${CFLAGS} ${LDFLAGS} hi.c ${LDLIBS.$@} -o $@ ./hi -c @@ -127,11 +134,14 @@ ${HTMLS}: html.sh scheme hi ttpre .h.html: sh html.sh $< man3/${<:.h=.3} > $@ +.y.html: + sh html.sh $< man1/${<:.y=.1} > $@ + .sh.html: sh html.sh $< man1/${<:.sh=.1} > $@ -.y.html: - sh html.sh $< man1/${<:.y=.1} > $@ +.pl.html: + sh html.sh $< man1/${<:.pl=.1} > $@ index.html: Makefile README.7 sh html.sh Makefile README.7 \ -- cgit 1.4.1