summaryrefslogtreecommitdiff
authorkergoth <kergoth>2002-02-07 23:15:10 (UTC)
committer kergoth <kergoth>2002-02-07 23:15:10 (UTC)
commit7d9771524f71db68c9cd05fd4635a7dbdb1cd95b (patch) (side-by-side diff)
treee7c9a4f567b608c60c2df2b41b2ef223942b593f
parentf9c1ae9958d40885657a5a974c944cc2ccddbea4 (diff)
downloadopie-7d9771524f71db68c9cd05fd4635a7dbdb1cd95b.zip
opie-7d9771524f71db68c9cd05fd4635a7dbdb1cd95b.tar.gz
opie-7d9771524f71db68c9cd05fd4635a7dbdb1cd95b.tar.bz2
Added opie-policy docs generation to buildsystem.
Diffstat (more/less context) (show 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,60 +1,65 @@
default: dynamic
+all: default docs
+
LIBS=library
COMPONENTS=$(LOCALCOMPONENTS) inputmethods/keyboard \
inputmethods/pickboard \
inputmethods/handwriting \
inputmethods/unikeyboard \
inputmethods/jumpx \
taskbar/batteryapplet \
taskbar/volumeapplet \
taskbar/clockapplet \
taskbar/netmonapplet \
netsetup/dialup \
netsetup/lan \
mpegplayer/libmpeg3 \
mpegplayer/libmad \
mpegplayer/wavplugin \
cardmon
APPS=$(LOCALAPPS) addressbook calculator clock datebook \
filebrowser helpbrowser minesweep mpegplayer \
settings/light-and-power \
settings/language \
settings/rotation \
settings/appearance \
settings/security \
settings/sound \
settings/systemtime \
solitaire spreadsheet tetrix textedit \
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