morse (2.1-4) 00makefile

Summary

 Makefile |   19 ++++++++++++-------
 1 file changed, 12 insertions(+), 7 deletions(-)

    
download this patch

Patch contents

Description: Minor changes for the new version of morse package.
Author: Nanakos Chrysostomos <nanakos@wired-net.gr>
Bug-Debian: http://bugs.debian.org/553991

--- morse-2.1.orig/Makefile
+++ morse-2.1/Makefile
@@ -23,8 +23,8 @@
 # to the authors!
 #
 #DEVICE = X11
-#DEVICE = Linux
-DEVICE = OSS
+DEVICE = Linux
+#DEVICE = OSS
 
 VERS=$(shell sed <morse.spec -n -e '/Version: \(.*\)/s//\1/p')
 
@@ -39,13 +39,18 @@ default:
 
 all: morse QSO morse.1 QSO.1
 
+install: all
+	install morse.d/morseLinux $(DESTDIR)/usr/bin/morse
+	install morse.d/morseX11 $(DESTDIR)/usr/bin
+	install qso.d/QSO $(DESTDIR)/usr/bin
+
 morse:
-	cd morse.d && make DEVICE=${DEVICE}
-	ln morse.d/morse ./morse
+#	cd morse.d && make DEVICE=${DEVICE}
+#	ln morse.d/morse ./morse
 
 QSO:
 	cd qso.d && make
-	ln qso.d/QSO ./QSO
+#	ln qso.d/QSO ./QSO
 
 #
 # "Jocks find quartz glyph, vex BMW." is my attempt to win Stephen J. Gould's
@@ -56,10 +61,10 @@ QSO:
 # he did say it's the closest he's seen so far. - Joe Dellinger
 #
 testmorse:	morse QSO
-	(cat test_input; qso.d/QSO) | morse -w 24 -l -e
+#	(cat test_input; qso.d/QSO) | morse -w 24 -l -e
 
 testqso:	morse QSO
-	qso.d/QSO | ./morse -w 20 -l -e
+#	qso.d/QSO | ./morse -w 20 -l -e
 
 all:	morse QSO