summaryrefslogtreecommitdiff
path: root/KDE/multimedia/Makefile
blob: 80e677c90a1fc2195a66305e4f3e932306ff2a9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#
# Following command helps to cheate SUBDIRS list:
# $ tree -fid .
#

SUBDIRS := audiocd-kio     \
           audiotube       \
           dragon          \
           elisa           \
           ffmpegthumbs    \
           juk             \
           k3b             \
           kamoso          \
           kasts           \
           kdenlive        \
           kid3            \
           kmix            \
           kwave           \
           libkcddb        \
           libkcompactdisc \
           plasmatube


all-recursive downloads_clean-recursive:
	@set fnord $(MAKEFLAGS); amf=$$2; \
	target=`echo $@ | sed s/-recursive//`; \
	list='$(SUBDIRS)'; for subdir in $$list; do \
	  echo "Making $$target in $$subdir"; \
	  local_target="$$target"; \
	  (cd $$subdir && $(MAKE) $$fnord $$local_target) \
	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
	done; test -z "$$fail"

all: all-recursive

downloads_clean: downloads_clean-recursive

.PHONY: all-recursive downloads_clean-recursive all downloads_clean