]> git.donarmstrong.com Git - lilypond.git/blob - make/lysdoc-rules.make
Merge branch 'master' into lilypond/translation
[lilypond.git] / make / lysdoc-rules.make
1 $(outdir)/collated-files.list: $(COLLATED_FILES)
2         echo "(Re-)Generating $@"
3         # We can't print the list in one go, as it might be longer than a
4         # shell command is allowed (as of linux 2.6.3x >131000 chars)
5         @echo $(wordlist    1, 299,$^)>$@
6         @echo $(wordlist  300, 599,$^)>>$@
7         @echo $(wordlist  600, 899,$^)>>$@
8         @echo $(wordlist  900,1199,$^)>>$@
9         @echo $(wordlist 1200,1499,$^)>>$@
10         @echo $(wordlist 1500,1799,$^)>>$@
11         @echo $(wordlist 1800,2099,$^)>>$@
12         @echo $(wordlist 2100,2399,$^)>>$@
13         @echo $(wordlist 2400,2699,$^)>>$@
14         @echo $(wordlist 2700,2999,$^)>>$@
15         # Print the rest, just in case the list is that long
16         echo $(wordlist 3000,$(words $^),$^)>>$@
17
18 $(outdir)/collated-files.tely: $(outdir)/collated-files.list
19         $(LYS_TO_TELY) --name=$(outdir)/collated-files.tely --title="$(TITLE)" --author="$(AUTHOR)" --input-filename=$^