OLD | NEW |
1 depth = .. | 1 depth = .. |
2 | 2 |
3 ######################## | 3 ######################## |
4 # Documentation build # | 4 # Documentation build # |
5 ######################## | 5 ######################## |
6 | 6 |
7 ############# | 7 ############# |
8 ### Variables | 8 ### Variables |
9 | 9 |
10 NAME = documentation | 10 NAME = documentation |
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
283 ln -f $< $@ | 283 ln -f $< $@ |
284 | 284 |
285 $(outdir)/%.js: %.js | 285 $(outdir)/%.js: %.js |
286 $(call ly_progress,Making,$@,(hard link)) | 286 $(call ly_progress,Making,$@,(hard link)) |
287 ln -f $< $@ | 287 ln -f $< $@ |
288 | 288 |
289 $(outdir)/%.php: %.php | 289 $(outdir)/%.php: %.php |
290 $(call ly_progress,Making,$@,(hard link)) | 290 $(call ly_progress,Making,$@,(hard link)) |
291 ln -f $< $@ | 291 ln -f $< $@ |
292 | 292 |
293 ## notation.texi deps | |
294 $(top-build-dir)/mf/$(outconfbase)/feta16list.ly: | |
295 $(MAKE) -C $(top-src-dir)/mf | |
296 | |
297 $(outdir)/contributor.texi: $(outdir)/ly-grammar.txt | |
298 | |
299 ## Rules for the automatically generated documentation | 293 ## Rules for the automatically generated documentation |
300 $(outdir)/ly-grammar.txt: $(top-src-dir)/lily/parser.yy | 294 $(outdir)/ly-grammar.txt: $(top-src-dir)/lily/parser.yy |
301 $(call ly_progress,Making,$@,< yy) | 295 $(call ly_progress,Making,$@,< yy) |
302 cd $(outdir) && $(BISON) -v $< | 296 cd $(outdir) && $(BISON) -v $< |
303 $(buildscript-dir)/yyout2grammar $(outdir)/parser.output $@ | 297 $(buildscript-dir)/yyout2grammar $(outdir)/parser.output $@ |
304 | 298 |
305 # There used to be a dependency on a dummy target, to force a rebuild | |
306 # of internals every time. however, this triggers | |
307 # compilation during install, which is a bad thing (tm). | |
308 | |
309 $(outdir)/internals.texi: $(LILYPOND_BINARY) $(INIT_LY_SOURCES) $(SCHEME_SOURCES
) | 299 $(outdir)/internals.texi: $(LILYPOND_BINARY) $(INIT_LY_SOURCES) $(SCHEME_SOURCES
) |
310 $(call ly_progress,Making,$@,) | 300 $(call ly_progress,Making,$@,) |
311 cd $(outdir) && $(buildscript-dir)/run-and-check "$(LILYPOND_BINARY) --v
erbose $(top-src-dir)/ly/generate-documentation" "generate-documentation.log" | 301 cd $(outdir) && $(buildscript-dir)/run-and-check "$(LILYPOND_BINARY) --v
erbose $(top-src-dir)/ly/generate-documentation" "generate-documentation.log" |
312 | 302 |
| 303 ## Dependencies on the automatically generated documentation |
| 304 $(outdir)/contributor.texi: $(outdir)/ly-grammar.txt |
| 305 # notation.tely includes, via notation/notation-appendices.itely, many |
| 306 # generated files (like markup-commands.tely). These are the result of |
| 307 # processing ly/generate-documentation.ly for internals.texi (see above). |
| 308 $(outdir)/notation.texi: $(outdir)/internals.texi |
| 309 |
313 ############################################### | 310 ############################################### |
314 # Documentation and translations maintenance # | 311 # Documentation and translations maintenance # |
315 ############################################### | 312 ############################################### |
316 po-update: | 313 po-update: |
317 $(MAKE) -C po po-update | 314 $(MAKE) -C po po-update |
318 | 315 |
319 all-translations-update: po-update translation-status | 316 all-translations-update: po-update translation-status |
320 $(foreach lang, $(LANGS), $(MAKE) ISOLANG=$(lang) skeleton-update snippe
t-update &&) true | 317 $(foreach lang, $(LANGS), $(MAKE) ISOLANG=$(lang) skeleton-update snippe
t-update &&) true |
321 | 318 |
322 ifneq ($(NO_COLOR),) | 319 ifneq ($(NO_COLOR),) |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
391 | 388 |
392 check-translation: | 389 check-translation: |
393 ISOLANG=$(ISOLANG) $(PYTHON) $(auxscript-dir)/check_translation.py $(CHE
CK_TRANSLATION_FLAGS) $(TRANSLATION_FILES) | 390 ISOLANG=$(ISOLANG) $(PYTHON) $(auxscript-dir)/check_translation.py $(CHE
CK_TRANSLATION_FLAGS) $(TRANSLATION_FILES) |
394 | 391 |
395 update-translation: | 392 update-translation: |
396 ISOLANG=$(ISOLANG) $(PYTHON) $(auxscript-dir)/check_translation.py --upd
ate $(CHECK_TRANSLATION_FLAGS) $(TRANSLATION_FILES) | 393 ISOLANG=$(ISOLANG) $(PYTHON) $(auxscript-dir)/check_translation.py --upd
ate $(CHECK_TRANSLATION_FLAGS) $(TRANSLATION_FILES) |
397 | 394 |
398 # what's it gonna be, boy...tranlationS-/translation- | 395 # what's it gonna be, boy...tranlationS-/translation- |
399 translation-status: | 396 translation-status: |
400 PYTHONPATH=$(top-src-dir)/python:$(top-src-dir)/python/auxiliar $(PYTHON
) $(top-src-dir)/scripts/auxiliar/translations-status.py | 397 PYTHONPATH=$(top-src-dir)/python:$(top-src-dir)/python/auxiliar $(PYTHON
) $(top-src-dir)/scripts/auxiliar/translations-status.py |
OLD | NEW |