cplay
view Makefile @ 1:7db0dc9d32d3
Added tag 1.49 for changeset aa5f022eac8a
author | markus schnalke <meillo@marmaro.de> |
---|---|
date | Wed, 27 Sep 2017 09:25:24 +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