From c93221ab34e692fc29e4610b4461bde563571671 Mon Sep 17 00:00:00 2001 From: "Kevin M. Rosenberg" Date: Tue, 21 Jan 2003 02:26:08 +0000 Subject: [PATCH] r3820: *** empty log message *** --- Makefile | 17 +++++++++++++---- wdq2wav.1 | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+), 4 deletions(-) create mode 100644 wdq2wav.1 diff --git a/Makefile b/Makefile index d84b290..7b647d2 100644 --- 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 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 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 +. -- 2.34.1