cplay
view Makefile @ 3:07e746bdb6bb
Added tag 1.49-meillo for changeset c7d8ec7da73b
author | markus schnalke <meillo@marmaro.de> |
---|---|
date | Wed, 27 Sep 2017 09:37:03 +0200 |
parents | |
children |
line source
1 PREFIX = /usr/local
2 ENV = PREFIX=$(PREFIX)
4 SUBDIRS = po
6 all: recursive-all
8 install: recursive-install
9 install -c -m 755 cplay $(PREFIX)/bin
10 install -c -m 644 cplay.1 $(PREFIX)/man/man1
12 clean: recursive-clean
14 recursive-all recursive-install recursive-clean:
15 @target=$@; \
16 for i in $(SUBDIRS); do \
17 (cd $$i && make $(ENV) $${target#recursive-}); \
18 done
20 cplayrc: cplay
21 awk '/^PLAYERS/ {p=1} /^$$/ {p=0} {if (p==1) {print}}' cplay > cplayrc