From 1d9925c287b318ec21343e2682b51ab6a36ae8db Mon Sep 17 00:00:00 2001
From: Diego Roversi <diegor@tiscali.it>
Date: Sun, 8 Sep 2019 18:12:27 +0200
Subject: initial commit from cvs 1.6.2

---
 doc/Makefile | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 doc/Makefile

(limited to 'doc/Makefile')

diff --git a/doc/Makefile b/doc/Makefile
new file mode 100644
index 0000000..3c21fcb
--- /dev/null
+++ b/doc/Makefile
@@ -0,0 +1,30 @@
+# 'make compress' to build the docs as gzipped manpages.
+# 'make txt' to build the docs as plain text manpages.
+# 'make html' to build the docs as html-ized manpages.
+
+all: txt html compress
+txt: bb.py.txt Client.py.txt BubBob.py.txt
+html: bb.py.html Client.py.html BubBob.py.html
+
+compress: bb.py.1.gz Client.py.1.gz BubBob.py.1.gz
+
+%.html : %.1
+	groff -man -Thtml $< > $@
+
+%.txt : %.1
+	groff -man -Tascii $< > $@
+
+%.1.gz : %.1
+	gzip -c $< > $@
+
+clean:
+	rm -f bb.py.txt Client.py.txt BubBob.py.txt
+	rm -f bb.py.html Client.py.html BubBob.py.html
+	rm -f *.gz
+
+install:
+	$(INSTALL) -c -o $(MANOWNER) -g $(MANGROUP) -m 644 bb.py.1.gz $(MANDIR)/man1/bubnbros-server.1.gz
+	$(INSTALL) -c -o $(MANOWNER) -g $(MANGROUP) -m 644 Client.py.1.gz $(MANDIR)/man1/bubnbros.1.gz
+	$(INSTALL) -c -o $(MANOWNER) -g $(MANGROUP) -m 644 BubBob.py.1.gz $(MANDIR)/man1/BubBob.1.gz
+
+	### TODO: install for html and txt files!
-- 
cgit v1.2.3