ref: c56a78ab9f822d87f3f078c154ad2cdb147973d3
parent: 15ebba4d7a78506d639a2329aadfdeabb7236fa9
author: cbagwell <cbagwell>
date: Thu Jan 18 05:57:46 EST 2007
Change ln to first delete like man pages do. Fixes cygwin issue.
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -41,13 +41,9 @@
libgsm/libgsm.la:
$(MAKE) -C libgsm
-play: sox$(EXEEXT)
+play rec: sox$(EXEEXT)
./sox --help > /dev/null
- $(LN_S) .libs/lt-sox play
-
-rec: sox$(EXEEXT)
- ./sox --help > /dev/null
- $(LN_S) .libs/lt-sox rec
+ $(RM) $@ && $(LN_S) .libs/lt-sox $@
install-exec-hook:
cd $(DESTDIR)$(bindir) && $(RM) play && $(LN_S) sox play