cplay

diff Makefile @ 0:aa5f022eac8a

Use upstream cplay-1.49 as a start
author markus schnalke <meillo@marmaro.de>
date Wed, 27 Sep 2017 09:22:32 +0200
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/Makefile	Wed Sep 27 09:22:32 2017 +0200
     1.3 @@ -0,0 +1,21 @@
     1.4 +PREFIX = /usr/local
     1.5 +ENV = PREFIX=$(PREFIX)
     1.6 +
     1.7 +SUBDIRS = po
     1.8 +
     1.9 +all: recursive-all
    1.10 +
    1.11 +install: recursive-install
    1.12 +	install -c -m 755 cplay $(PREFIX)/bin
    1.13 +	install -c -m 644 cplay.1 $(PREFIX)/man/man1
    1.14 +
    1.15 +clean: recursive-clean
    1.16 +
    1.17 +recursive-all recursive-install recursive-clean:
    1.18 +	@target=$@; \
    1.19 +	for i in $(SUBDIRS); do \
    1.20 +		(cd $$i && make $(ENV) $${target#recursive-}); \
    1.21 +	done
    1.22 +
    1.23 +cplayrc: cplay
    1.24 +	awk '/^PLAYERS/ {p=1} /^$$/ {p=0} {if (p==1) {print}}' cplay > cplayrc