r3820: *** empty log message ***
authorKevin M. Rosenberg <kevin@rosenberg.net>
Tue, 21 Jan 2003 02:26:08 +0000 (02:26 +0000)
committerKevin M. Rosenberg <kevin@rosenberg.net>
Tue, 21 Jan 2003 02:26:08 +0000 (02:26 +0000)
Makefile
wdq2wav.1 [new file with mode: 0644]

index d84b29001ea9db69afaea2838714df4c8e729859..7b647d2575dfa2f4070335261981044ea2d7c02e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,16 @@
-compile:
-       g++ -O2 -I. wdq2wav.cpp -o wdq2wav
+base   := wdq2wav
+
+all: compile
+
+clean:
+       rm -f $(base) $(base).o
+
+compile: wdq2wav
+
+wdq2wav: wdq2wav.cpp wdq2wav.h
+       g++ -O2 -I. $(base).cpp -o $(base)
 
 install: compile
-       install -m 0755 -u root -g root wdq2wav $(DESTDIR)/usr/bin
-       install -m 0644 -u root -g root wdq2wav.1 $(DESTDIR)/usr/share/man/man1
+       install -m 0755 -o root -g root wdq2wav $(DESTDIR)/usr/bin
+       install -m 0644 -o root -g root wdq2wav.1 $(DESTDIR)/usr/share/man/man1
 
diff --git a/wdq2wav.1 b/wdq2wav.1
new file mode 100644 (file)
index 0000000..30a7b15
--- /dev/null
+++ b/wdq2wav.1
@@ -0,0 +1,35 @@
+.\"                                      Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH WDQ2WAV 1 "January 20, 2003"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh        disable hyphenation
+.\" .hy        enable hyphenation
+.\" .ad l      left justify
+.\" .ad b      justify to both left and right margins
+.\" .nf        disable filling
+.\" .fi        enable filling
+.\" .br        insert line break
+.\" .sp <n>    insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+wdq2wav \- convert a WinDAQ file channel to a wav file
+.SH SYNOPSIS
+.B wdq2wav windaq-file channel-number wav-file 
+.RI [ OPTIONS ]
+.SH DESCRIPTION
+.B wdq2wav
+extracts a channel from a WinDAQ file and produces a .wav file.
+.SH OPTIONS
+.TP
+.B \-h, \-\-help
+Show summary of options.
+.TP
+.B \-v, \-\-version
+Show version of program.
+.SH AUTHOR
+This manual page was written by Kevin M. Rosenberg 
+<kevin@rosenberg.net>.