chiark
/
gitweb
/
~mdw
/
epls
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
151b3c4
)
Makefile: Support `chapters-only' playlists.
author
Mark Wooding
<mdw@distorted.org.uk>
Wed, 16 Mar 2022 16:46:18 +0000
(16:46 +0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Wed, 16 Mar 2022 16:49:30 +0000
(16:49 +0000)
Makefile
patch
|
blob
|
blame
|
history
diff --git
a/Makefile
b/Makefile
index b5494b92f4eb6729113fa3f534f388b44193e8a1..ab3a7502fcdaddfa60321f69c446cfa8a1ceda79 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-29,8
+29,8
@@
$1_MKM3UFLAGS =
endef
define %declare-chapter-playlist
endef
define %declare-chapter-playlist
-$1
-chap_EPLS = $1
.epls
-$1
-chap_MKM3UFLAGS
= -c
+$1
_EPLS = $2
.epls
+$1
_MKM3UFLAGS
= -c
endef
define %declare-filter-playlist
endef
define %declare-filter-playlist
@@
-41,11
+41,14
@@
endef
declare-playlist = \
$(eval $(call %declare-playlist,$1,$2)) \
$(eval $(call %declare-simple-playlist,$1))
declare-playlist = \
$(eval $(call %declare-playlist,$1,$2)) \
$(eval $(call %declare-simple-playlist,$1))
+declare-chapters-only = \
+ $(eval $(call %declare-playlist,$1,$2)) \
+ $(eval $(call %declare-chapter-playlist,$1,$1))
declare-chapters = \
$(eval $(call %declare-playlist,$1,$2)) \
$(eval $(call %declare-simple-playlist,$1)) \
$(eval $(call %declare-playlist,$1-chap,$2 (chapters))) \
declare-chapters = \
$(eval $(call %declare-playlist,$1,$2)) \
$(eval $(call %declare-simple-playlist,$1)) \
$(eval $(call %declare-playlist,$1-chap,$2 (chapters))) \
- $(eval $(call %declare-chapter-playlist,$1))
+ $(eval $(call %declare-chapter-playlist,$1
-chap,$1
))
declare-filter = \
$(eval $(call %declare-playlist,$1,$4)) \
$(eval $(call %declare-filter-playlist,$1,$2,$3))
declare-filter = \
$(eval $(call %declare-playlist,$1,$4)) \
$(eval $(call %declare-filter-playlist,$1,$2,$3))