summary refs log tree commit diff
path: root/bin/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bin/Makefile14
1 files changed, 12 insertions, 2 deletions
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 \