3 # LW #1 to #25 (English)
4 ENGLISH_DIRS := 01fftd 02fotw 03tcok 04tcod 05sots 06tkot 07cd 08tjoh \
5 09tcof 10tdot 11tpot 12tmod 13tplor 14tcok 15tdc 16tlov 17tdoi \
6 18dotd 19wb 20tcon 21votm 22tbos 23mh 24rw 25totw
7 # Unpublished (english) books:
10 # LS #1 to #13 (Spanish)
11 SPANISH_DIRS := 01hdlo 02fsea 03lcdk 04eam 05eddls 06lpdlc 07meec \
12 08ljdlh 09ecdm 10lmdt 11pdt 12lsdlo 13lsdlpdr
13 # Unpublished (spanish) books
16 DIRS = $(ENGLISH_DIRS) $(SPANISH_DIRS)
18 DIRS-install := $(addsuffix -install,$(DIRS))
19 DIRS-install-en := $(addsuffix -install,$(ENGLISH_DIRS))
20 DIRS-install-es := $(addsuffix -install,$(SPANISH_DIRS))
21 DIRS-clean := $(addsuffix -clean,$(DIRS))
22 DIRS-distclean := $(addsuffix -distclean,$(DIRS))
25 .PHONY: install all clean $(DIRS) $(DIRS-install)
28 all-english: $(ENGLISH_DIRS)
29 all-spanish: $(SPANISH_DIRS)
31 install: $(DIRS-install)
32 install-english: $(DIRS-install-en)
33 install-spanish: $(DIRS-install-es)
35 clean: $(DIRS-clean) test-clean
36 distclean: $(DIRS-distclean)
39 $(MAKE) -C $(subst -install,,$@) install
42 $(MAKE) -C $(subst -clean,,$@) clean
45 $(MAKE) -C $(subst -distclean,,$@) distclean
54 $(MAKE) -C setup_test clean