# This GNU Makefile should live in ~/.draai/playlist/ . default: albums tracks cat albums tracks tracks > $@ # # This enables stuff like: # # $ cat feest.dirs # Manu_Chao/Clandestino/[CJLM]* # Randy_Newman/12_Songs/0[1345689]* # Pizzicato_Five/Remix_Album_Happy_End_Of_You # Talking_Heads # Talking_Heads # $ make feest # %: %.dirs opwd=`pwd`; export opwd; ( cd ~/mp3 && find `cat $$opwd/$<` -type f -follow ) > $@ ripped.txt: (echo 'find . -type l | sort'; find . -type l | sort ) > $@ # permutate can be fetched from http://mdcc.cx/cvs/ad1810.com/ad1810-dj/script/permutate next: ls-R.txt permutate < $< > $@ ls-R.txt: (cd ~/mp3 && find -follow -type f | sed 's|^\./||' | sort ) > ls-R.txt .PHONY: next