summary refs log tree commit diff
path: root/bin/Makefile
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-02-20 20:07:32 -0500
committerJune McEnroe <june@causal.agency>2019-02-20 20:07:32 -0500
commitdc90a36735653c3ed314e96d48a0b9398c4f2c89 (patch)
tree82e8005186fce4ec2b2e8fbdb57b2bd75f1cd47a /bin/Makefile
parentFactor out html.sh and produce html for all sources (diff)
downloadsrc-dc90a36735653c3ed314e96d48a0b9398c4f2c89.tar.gz
src-dc90a36735653c3ed314e96d48a0b9398c4f2c89.zip
Use $PWD in html.sh to pass absolute path to man
Diffstat (limited to 'bin/Makefile')
-rw-r--r--bin/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/Makefile b/bin/Makefile
index 6e00e175..f0128b16 100644
--- a/bin/Makefile
+++ b/bin/Makefile
@@ -107,16 +107,16 @@ $(HTMLS): ttpre hi html.sh
 .SUFFIXES: .html
 
 .c.html:
-	sh html.sh $< ./man1/$(<:.c=.1) > $@
+	sh html.sh $< man1/$(<:.c=.1) > $@
 
 .sh.html:
-	sh html.sh $< ./man1/$(<:.sh=.1) > $@
+	sh html.sh $< man1/$(<:.sh=.1) > $@
 
 .h.html:
 	sh html.sh $< > $@
 
 Makefile.html: Makefile bin.7
-	sh html.sh Makefile ./bin.7 > Makefile.html
+	sh html.sh Makefile bin.7 > Makefile.html
 
 clean:
 	rm -f $(BINS_ALL) $(LINKS) tags scheme.h scheme.png *.o *.html