File: Makefile

package info (click to toggle)
solfege 3.23.4-13
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 29,744 kB
  • sloc: python: 26,939; xml: 4,380; ansic: 1,544; sh: 807; makefile: 655; perl: 8; exp: 7
file content (51 lines) | stat: -rw-r--r-- 1,687 bytes parent folder | download | duplicates (2)
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
40
41
42
43
44
45
46
47
48
49
50
51
installfiles+=$(wildcard help/C/*.html) \
	$(wildcard help/C/ly/*.png) \
	$(wildcard help/C/figures/*.png) \
	$(wildcard help/C/scales/*.html) \
	$(wildcard help/C/scales/images/quadriads/*.png) \
	$(wildcard help/C/scales/images/triads/*.png) \
	$(wildcard help/C/scales/images/modes/chords/*.png) \
	$(wildcard help/C/scales/images/modes/scales/*.png) \

NOT_TRANSLATED_SOURCES=help/C/gpl.xml \
	help/C/lessonfiles.xml \
	help/C/rhythmtable.xml \
	help/C/midi-instrument-names.xml

USER_MANUAL_SOURCES=$(filter-out $(NOT_TRANSLATED_SOURCES), $(wildcard help/C/*.xml))

ly_gen_png_target = $(patsubst %.ly,%.png,$(filter-out $(wildcard help/C/ly/*common*.ly),$(wildcard help/C/ly/*.ly)))

pngs: $(ly_gen_png_target)

ifneq "$(skipmanual)" "yes"
ifdef LILYPOND
all: $(ly_gen_png_target)
endif
endif

maintainer-clean:
	rm -f $(ly_gen_png_target)
	rm -f help/C/*.html

dist_files += help/C/solfege.pot \
	help/C/Makefile \
	help/C/solfege.xml.in \
	$(wildcard help/C/scales/*.html) \
	$(wildcard help/C/scales/images/quadriads/*.png) \
	$(wildcard help/C/scales/images/triads/*.png) \
	$(wildcard help/C/scales/images/modes/chords/*.png) \
	$(wildcard help/C/scales/images/modes/scales/*.png) \

help/C/solfege.pot: $(USER_MANUAL_SOURCES)
ifndef ITSTOOL
	@echo
	@echo "You need to install itstool to update help/C/solfege.pot"
	@echo
	@exit 64
else
	$(ITSTOOL) --keep-entities $(USER_MANUAL_SOURCES) | $(MSGGREP) -v -K -e "@@image:" -e "^Tom" -e "^Amundsen" -e "^tca@gnu.org" -e "^bug-solfege@gnu.org" -e "^solfege-devel@lists.sourceforge.net" -e "^solfege-announce@lists.sourceforge.net"  -o help/C/solfege.pot
endif

help/C/index.html: $(USER_MANUAL_SOURCES) $(NOT_TRANSLATED_SOURCES)