author | kergoth <kergoth> | 2002-02-07 23:15:10 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2002-02-07 23:15:10 (UTC) |
commit | 7d9771524f71db68c9cd05fd4635a7dbdb1cd95b (patch) (unidiff) | |
tree | e7c9a4f567b608c60c2df2b41b2ef223942b593f /Makefile | |
parent | f9c1ae9958d40885657a5a974c944cc2ccddbea4 (diff) | |
download | opie-7d9771524f71db68c9cd05fd4635a7dbdb1cd95b.zip opie-7d9771524f71db68c9cd05fd4635a7dbdb1cd95b.tar.gz opie-7d9771524f71db68c9cd05fd4635a7dbdb1cd95b.tar.bz2 |
Added opie-policy docs generation to buildsystem.
-rw-r--r-- | Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -1,5 +1,7 @@ | |||
1 | default: dynamic | 1 | default: dynamic |
2 | 2 | ||
3 | all: default docs | ||
4 | |||
3 | LIBS=library | 5 | LIBS=library |
4 | 6 | ||
5 | COMPONENTS=$(LOCALCOMPONENTS) inputmethods/keyboard \ | 7 | COMPONENTS=$(LOCALCOMPONENTS) inputmethods/keyboard \ |
@@ -32,15 +34,18 @@ APPS=$(LOCALAPPS) addressbook calculator clock datebook \ | |||
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 | ||
37 | DOCS = docs/src/opie-policy | ||
35 | single: mpegplayer/libmpeg3 | 38 | single: mpegplayer/libmpeg3 |
36 | 39 | ||
37 | dynamic: $(APPS) | 40 | dynamic: $(APPS) |
38 | 41 | ||
42 | docs: $(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 | ||
46 | showcomponents: | 51 | showcomponents: |
@@ -48,7 +53,7 @@ showcomponents: | |||
48 | 53 | ||
49 | clean: | 54 | clean: |
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 | ||
53 | lupdate: | 58 | lupdate: |
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 |
@@ -57,4 +62,4 @@ lrelease: | |||
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 |