summaryrefslogtreecommitdiff
path: root/Makefile
Side-by-side diff
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 @@
default: dynamic
+all: default docs
+
LIBS=library
COMPONENTS=$(LOCALCOMPONENTS) inputmethods/keyboard \
inputmethods/pickboard \
@@ -31,30 +33,33 @@ APPS=$(LOCALAPPS) addressbook calculator clock datebook \
todo tux wordgame embeddedkonsole taskbar sysinfo \
parashoot snake citytime showimg netsetup \
qipkg mindbreaker go qasteroids qcop fifteen keypebble opiemail/lib opiemail
+DOCS = docs/src/opie-policy
single: mpegplayer/libmpeg3
dynamic: $(APPS)
+docs: $(DOCS)
+
$(COMPONENTS): $(LIBS)
$(APPS): $(LIBS) $(COMPONENTS)
-$(LIBS) $(COMPONENTS) $(APPS) single:
+$(LIBS) $(COMPONENTS) $(APPS) $(DOCS) single:
$(MAKE) -C $@ -f Makefile
showcomponents:
@echo $(LIBS) $(APPS) $(COMPONENTS) single
clean:
$(MAKE) -C single -f Makefile $@
- for dir in $(APPS) $(LIBS) $(COMPONENTS); do $(MAKE) -C $$dir -f Makefile $@ || exit 1; done
+ for dir in $(APPS) $(LIBS) $(COMPONENTS) $(DOCS); do $(MAKE) -C $$dir -f Makefile $@ || exit 1; done
lupdate:
for dir in $(APPS) $(LIBS) $(COMPONENTS); do $(MAKE) -C $$dir -f Makefile $@ || exit 1; done
lrelease:
for dir in $(APPS) $(LIBS) $(COMPONENTS); do $(MAKE) -C $$dir -f Makefile $@ || exit 1; done
-.PHONY: default dynamic $(LIBS) $(APPS) $(COMPONENTS) single showcomponents clean
+.PHONY: default dynamic $(LIBS) $(APPS) $(COMPONENTS) $(DOCS) single showcomponents clean