about summary refs log tree commit homepage
path: root/Documentation
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/GNUmakefile28
-rw-r--r--Documentation/dtas-console.txt (renamed from Documentation/dtas-console.1.txt)0
-rw-r--r--Documentation/dtas-ctl.txt (renamed from Documentation/dtas-ctl.1.txt)0
-rw-r--r--Documentation/dtas-cueedit.txt (renamed from Documentation/dtas-cueedit.1.txt)0
-rw-r--r--Documentation/dtas-enq.txt (renamed from Documentation/dtas-enq.1.txt)0
-rw-r--r--Documentation/dtas-msinkctl.txt (renamed from Documentation/dtas-msinkctl.1.txt)0
-rw-r--r--Documentation/dtas-player.txt (renamed from Documentation/dtas-player.1.txt)0
-rw-r--r--Documentation/dtas-player_protocol.txt (renamed from Documentation/dtas-player_protocol.7.txt)0
-rw-r--r--Documentation/dtas-sinkedit.txt (renamed from Documentation/dtas-sinkedit.1.txt)0
-rw-r--r--Documentation/dtas-sourceedit.txt (renamed from Documentation/dtas-sourceedit.1.txt)0
-rw-r--r--Documentation/dtas-xdelay.txt (renamed from Documentation/dtas-xdelay.1.txt)0
11 files changed, 19 insertions, 9 deletions
diff --git a/Documentation/GNUmakefile b/Documentation/GNUmakefile
index 9144949..94c81d5 100644
--- a/Documentation/GNUmakefile
+++ b/Documentation/GNUmakefile
@@ -21,16 +21,26 @@ all:: man
 
 man: $(man1) $(man7)
 
-install-man: man
-        mkdir -p ../man/man1
-        mkdir -p ../man/man7
-        install -m 644 $(man1) ../man/man1
-        install -m 644 $(man7) ../man/man7
+prefix?=$(HOME)
+mandir?=$(prefix)/share/man
+man1dir=$(mandir)/man1
+man5dir=$(mandir)/man5
+man7dir=$(mandir)/man7
 
-%.1: %.1.txt
-        $(pandoc) -s -t man < $< > $@+ && mv $@+ $@
-%.7: %.7.txt
+INSTALL = install
+
+gem-man: man
+        $(INSTALL) -d -m 755 ../man
+        $(INSTALL) -m 644 $(man1) ../man
+        $(INSTALL) -m 644 $(man7) ../man
+
+install-man: man
+        $(INSTALL) -d -m 755 $(DESTDIR)$(man1dir)
+        $(INSTALL) -d -m 755 $(DESTDIR)$(man7dir)
+        $(INSTALL) -m 644 $(man1) $(DESTDIR)$(man1dir)
+        $(INSTALL) -m 644 $(man7) $(DESTDIR)$(man7dir)
+%.1 %.7 : %.txt
         $(pandoc) -s -t man < $< > $@+ && mv $@+ $@
 
 clean::
-        $(RM) $(man1)
+        $(RM) $(man1) $(man7)
diff --git a/Documentation/dtas-console.1.txt b/Documentation/dtas-console.txt
index e41ee87..e41ee87 100644
--- a/Documentation/dtas-console.1.txt
+++ b/Documentation/dtas-console.txt
diff --git a/Documentation/dtas-ctl.1.txt b/Documentation/dtas-ctl.txt
index 68b6c74..68b6c74 100644
--- a/Documentation/dtas-ctl.1.txt
+++ b/Documentation/dtas-ctl.txt
diff --git a/Documentation/dtas-cueedit.1.txt b/Documentation/dtas-cueedit.txt
index 4d73721..4d73721 100644
--- a/Documentation/dtas-cueedit.1.txt
+++ b/Documentation/dtas-cueedit.txt
diff --git a/Documentation/dtas-enq.1.txt b/Documentation/dtas-enq.txt
index 1ef636c..1ef636c 100644
--- a/Documentation/dtas-enq.1.txt
+++ b/Documentation/dtas-enq.txt
diff --git a/Documentation/dtas-msinkctl.1.txt b/Documentation/dtas-msinkctl.txt
index d6acb4c..d6acb4c 100644
--- a/Documentation/dtas-msinkctl.1.txt
+++ b/Documentation/dtas-msinkctl.txt
diff --git a/Documentation/dtas-player.1.txt b/Documentation/dtas-player.txt
index 7e8fbe4..7e8fbe4 100644
--- a/Documentation/dtas-player.1.txt
+++ b/Documentation/dtas-player.txt
diff --git a/Documentation/dtas-player_protocol.7.txt b/Documentation/dtas-player_protocol.txt
index 7c5d57f..7c5d57f 100644
--- a/Documentation/dtas-player_protocol.7.txt
+++ b/Documentation/dtas-player_protocol.txt
diff --git a/Documentation/dtas-sinkedit.1.txt b/Documentation/dtas-sinkedit.txt
index 892320a..892320a 100644
--- a/Documentation/dtas-sinkedit.1.txt
+++ b/Documentation/dtas-sinkedit.txt
diff --git a/Documentation/dtas-sourceedit.1.txt b/Documentation/dtas-sourceedit.txt
index 1f5101b..1f5101b 100644
--- a/Documentation/dtas-sourceedit.1.txt
+++ b/Documentation/dtas-sourceedit.txt
diff --git a/Documentation/dtas-xdelay.1.txt b/Documentation/dtas-xdelay.txt
index e6544f1..e6544f1 100644
--- a/Documentation/dtas-xdelay.1.txt
+++ b/Documentation/dtas-xdelay.txt