summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-09-11 22:08:54 -0400
committerJune McEnroe <june@causal.agency>2018-09-11 22:08:54 -0400
commitf42274227f16d6d59a5cd47923fb6962b1d7c5af (patch)
tree3b08aedce62ec84c3749f55856b87806d265915a
parentRewrite gfx.7 and render plaintext README (diff)
downloadsrc-f42274227f16d6d59a5cd47923fb6962b1d7c5af.tar.gz
src-f42274227f16d6d59a5cd47923fb6962b1d7c5af.zip
Move bin man pages to bin/man
Diffstat (limited to '')
-rw-r--r--bin/Makefile22
l---------bin/man/atch.1 (renamed from bin/atch.1)0
-rw-r--r--bin/man/bin.7 (renamed from bin/bin.7)0
-rw-r--r--bin/man/bri.1 (renamed from bin/bri.1)0
-rw-r--r--bin/man/dtch.1 (renamed from bin/dtch.1)0
-rw-r--r--bin/man/fbatt.1 (renamed from bin/fbatt.1)0
-rw-r--r--bin/man/fbclock.1 (renamed from bin/fbclock.1)0
-rw-r--r--bin/man/glitch.1 (renamed from bin/glitch.1)0
-rw-r--r--bin/man/hnel.1 (renamed from bin/hnel.1)0
-rw-r--r--bin/man/klon.6 (renamed from bin/klon.6)0
-rw-r--r--bin/man/modem.1 (renamed from bin/modem.1)0
-rw-r--r--bin/man/pbd.1 (renamed from bin/pbd.1)0
-rw-r--r--bin/man/pngo.1 (renamed from bin/pngo.1)0
-rw-r--r--bin/man/scheme.1 (renamed from bin/scheme.1)0
-rw-r--r--bin/man/wake.1 (renamed from bin/wake.1)0
-rw-r--r--bin/man/watch.1 (renamed from bin/watch.1)0
-rw-r--r--bin/man/xx.1 (renamed from bin/xx.1)0
17 files changed, 11 insertions, 11 deletions
diff --git a/bin/Makefile b/bin/Makefile
index 7079aaae..fd3f1134 100644
--- a/bin/Makefile
+++ b/bin/Makefile
@@ -8,8 +8,8 @@ BINS_ALL = $(BINS) $(BINS_BSD) $(BINS_LINUX)
 GAMES_BSD = klon
 GAMES_ALL = $(GAMES_BSD)
 
-MAN1 = $(BINS_ALL:%=%.1)
-MAN6 = $(GAMES_ALL:%=%.6)
+MAN1 = $(BINS_ALL:%=man/%.1)
+MAN6 = $(GAMES_ALL:%=man/%.6)
 
 CFLAGS += -Wall -Wextra -Wpedantic
 LDLIBS = -lcurses -lm -lutil -lz
@@ -20,11 +20,6 @@ bsd: any $(BINS_BSD) $(GAMES_BSD)
 
 linux: any $(BINS_LINUX)
 
-.gitignore: Makefile
-	echo tags scheme.h *.o $(BINS_ALL) $(GAMES_ALL) scheme.png \
-		| tr ' ' '\n' \
-		> .gitignore
-
 tags: *.c
 	ctags -w *.c
 
@@ -39,9 +34,6 @@ atch: dtch
 open pbcopy pbpaste: pbd
 	ln -f pbd $@
 
-README: bin.7
-	mandoc bin.7 | sed $$'s/.\b//g' > README
-
 scheme.png: scheme
 	./scheme -t -g > scheme.png
 
@@ -50,7 +42,15 @@ setuid: bri
 	chmod u+s bri
 
 clean:
-	rm -f tags $(BINS_ALL) $(GAMES_ALL)
+	rm -f tags scheme.h *.o $(BINS_ALL) $(GAMES_ALL) scheme.png
+
+README: man/bin.7
+	mandoc man/bin.7 | sed $$'s/.\b//g' > README
+
+.gitignore: Makefile
+	echo tags scheme.h *.o $(BINS_ALL) $(GAMES_ALL) scheme.png \
+		| tr ' ' '\n' \
+		> .gitignore
 
 link:
 	mkdir -p $(PREFIX)/bin $(PREFIX)/share/man/man1 $(PREFIX)/share/man/man6
diff --git a/bin/atch.1 b/bin/man/atch.1
index 9765e8d6..9765e8d6 120000
--- a/bin/atch.1
+++ b/bin/man/atch.1
diff --git a/bin/bin.7 b/bin/man/bin.7
index aab8b82e..aab8b82e 100644
--- a/bin/bin.7
+++ b/bin/man/bin.7
diff --git a/bin/bri.1 b/bin/man/bri.1
index 6bec4653..6bec4653 100644
--- a/bin/bri.1
+++ b/bin/man/bri.1
diff --git a/bin/dtch.1 b/bin/man/dtch.1
index ad13c109..ad13c109 100644
--- a/bin/dtch.1
+++ b/bin/man/dtch.1
diff --git a/bin/fbatt.1 b/bin/man/fbatt.1
index 73bc109c..73bc109c 100644
--- a/bin/fbatt.1
+++ b/bin/man/fbatt.1
diff --git a/bin/fbclock.1 b/bin/man/fbclock.1
index b8efbf10..b8efbf10 100644
--- a/bin/fbclock.1
+++ b/bin/man/fbclock.1
diff --git a/bin/glitch.1 b/bin/man/glitch.1
index f9c75527..f9c75527 100644
--- a/bin/glitch.1
+++ b/bin/man/glitch.1
diff --git a/bin/hnel.1 b/bin/man/hnel.1
index ab1c5149..ab1c5149 100644
--- a/bin/hnel.1
+++ b/bin/man/hnel.1
diff --git a/bin/klon.6 b/bin/man/klon.6
index b78f1827..b78f1827 100644
--- a/bin/klon.6
+++ b/bin/man/klon.6
diff --git a/bin/modem.1 b/bin/man/modem.1
index 175459b0..175459b0 100644
--- a/bin/modem.1
+++ b/bin/man/modem.1
diff --git a/bin/pbd.1 b/bin/man/pbd.1
index bb4380b0..bb4380b0 100644
--- a/bin/pbd.1
+++ b/bin/man/pbd.1
diff --git a/bin/pngo.1 b/bin/man/pngo.1
index 4ba8a624..4ba8a624 100644
--- a/bin/pngo.1
+++ b/bin/man/pngo.1
diff --git a/bin/scheme.1 b/bin/man/scheme.1
index ae11320d..ae11320d 100644
--- a/bin/scheme.1
+++ b/bin/man/scheme.1
diff --git a/bin/wake.1 b/bin/man/wake.1
index 1966cf2a..1966cf2a 100644
--- a/bin/wake.1
+++ b/bin/man/wake.1
diff --git a/bin/watch.1 b/bin/man/watch.1
index fbcff86a..fbcff86a 100644
--- a/bin/watch.1
+++ b/bin/man/watch.1
diff --git a/bin/xx.1 b/bin/man/xx.1
index 114c1340..114c1340 100644
--- a/bin/xx.1
+++ b/bin/man/xx.1