summaryrefslogtreecommitdiff
path: root/Makefile
Unidiff
Diffstat (limited to 'Makefile') (more/less context) (ignore whitespace changes)
-rw-r--r--Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index f65396a..ecd4e0d 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,8 @@
1default: dynamic 1default: dynamic
2 2
3all: default docs
4
3LIBS=library 5LIBS=library
4 6
5COMPONENTS=$(LOCALCOMPONENTS) inputmethods/keyboard \ 7COMPONENTS=$(LOCALCOMPONENTS) inputmethods/keyboard \
6 inputmethods/pickboard \ 8 inputmethods/pickboard \
@@ -31,30 +33,33 @@ APPS=$(LOCALAPPS) addressbook calculator clock datebook \
31 todo tux wordgame embeddedkonsole taskbar sysinfo \ 33 todo tux wordgame embeddedkonsole taskbar sysinfo \
32 parashoot snake citytime showimg netsetup \ 34 parashoot snake citytime showimg netsetup \
33 qipkg mindbreaker go qasteroids qcop fifteen keypebble opiemail/lib opiemail 35 qipkg mindbreaker go qasteroids qcop fifteen keypebble opiemail/lib opiemail
34 36
37DOCS = docs/src/opie-policy
35single: mpegplayer/libmpeg3 38single: mpegplayer/libmpeg3
36 39
37dynamic: $(APPS) 40dynamic: $(APPS)
38 41
42docs: $(DOCS)
43
39$(COMPONENTS): $(LIBS) 44$(COMPONENTS): $(LIBS)
40 45
41$(APPS): $(LIBS) $(COMPONENTS) 46$(APPS): $(LIBS) $(COMPONENTS)
42 47
43$(LIBS) $(COMPONENTS) $(APPS) single: 48$(LIBS) $(COMPONENTS) $(APPS) $(DOCS) single:
44 $(MAKE) -C $@ -f Makefile 49 $(MAKE) -C $@ -f Makefile
45 50
46showcomponents: 51showcomponents:
47 @echo $(LIBS) $(APPS) $(COMPONENTS) single 52 @echo $(LIBS) $(APPS) $(COMPONENTS) single
48 53
49clean: 54clean:
50 $(MAKE) -C single -f Makefile $@ 55 $(MAKE) -C single -f Makefile $@
51 for dir in $(APPS) $(LIBS) $(COMPONENTS); do $(MAKE) -C $$dir -f Makefile $@ || exit 1; done 56 for dir in $(APPS) $(LIBS) $(COMPONENTS) $(DOCS); do $(MAKE) -C $$dir -f Makefile $@ || exit 1; done
52 57
53lupdate: 58lupdate:
54 for dir in $(APPS) $(LIBS) $(COMPONENTS); do $(MAKE) -C $$dir -f Makefile $@ || exit 1; done 59 for dir in $(APPS) $(LIBS) $(COMPONENTS); do $(MAKE) -C $$dir -f Makefile $@ || exit 1; done
55 60
56lrelease: 61lrelease:
57 for dir in $(APPS) $(LIBS) $(COMPONENTS); do $(MAKE) -C $$dir -f Makefile $@ || exit 1; done 62 for dir in $(APPS) $(LIBS) $(COMPONENTS); do $(MAKE) -C $$dir -f Makefile $@ || exit 1; done
58 63
59 64
60.PHONY: default dynamic $(LIBS) $(APPS) $(COMPONENTS) single showcomponents clean 65.PHONY: default dynamic $(LIBS) $(APPS) $(COMPONENTS) $(DOCS) single showcomponents clean