summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
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