diff options
author | Erik Andersen <andersen@codepoet.org> | 2000-05-03 03:19:06 +0000 |
---|---|---|
committer | Erik Andersen <andersen@codepoet.org> | 2000-05-03 03:19:06 +0000 |
commit | 0a704e8ff62a7fdcd08f1fcc89ca66133da2db07 (patch) | |
tree | 6c6b2f7615f63ddf6f209c23ce02424b58346651 /Makefile | |
parent | a19bc64653aab46f6335ed6aa7d7d70ff7b5fb0b (diff) | |
download | busybox-w32-0a704e8ff62a7fdcd08f1fcc89ca66133da2db07.tar.gz busybox-w32-0a704e8ff62a7fdcd08f1fcc89ca66133da2db07.tar.bz2 busybox-w32-0a704e8ff62a7fdcd08f1fcc89ca66133da2db07.zip |
Remove BB_FEATURE_REMOUNT (small, and should always be present)
and fix documentation dependancy checks, so it is only built when
it should be built.
-Erik
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 24 |
1 files changed, 20 insertions, 4 deletions
@@ -99,12 +99,28 @@ ifdef BB_INIT_SCRIPT | |||
99 | CFLAGS += -DINIT_SCRIPT='"$(BB_INIT_SCRIPT)"' | 99 | CFLAGS += -DINIT_SCRIPT='"$(BB_INIT_SCRIPT)"' |
100 | endif | 100 | endif |
101 | 101 | ||
102 | all: busybox busybox.links | 102 | all: busybox busybox.links doc |
103 | |||
104 | doc: BusyBox.txt BusyBox.1 BusyBox.html | ||
105 | |||
106 | BusyBox.txt: docs/busybox.pod | ||
107 | @echo | ||
108 | @echo BusyBox Documentation | ||
109 | @echo | ||
110 | pod2text docs/busybox.pod > BusyBox.txt | ||
111 | |||
112 | BusyBox.1: docs/busybox.pod | ||
113 | pod2man --center=BusyBox --release="version $(VERSION)" docs/busybox.pod > BusyBox.1 | ||
114 | |||
115 | BusyBox.html: docs/busybox.pod | ||
116 | pod2html docs/busybox.pod > BusyBox.html | ||
117 | - rm -f pod2html* | ||
118 | |||
119 | clean: | ||
103 | 120 | ||
104 | busybox: $(OBJECTS) | 121 | busybox: $(OBJECTS) |
105 | $(CC) $(LDFLAGS) -o $@ $^ $(LIBRARIES) | 122 | $(CC) $(LDFLAGS) -o $@ $^ $(LIBRARIES) |
106 | $(STRIP) | 123 | $(STRIP) |
107 | ( cd docs ; $(MAKE) ) | ||
108 | 124 | ||
109 | busybox.links: busybox.def.h | 125 | busybox.links: busybox.def.h |
110 | - ./busybox.mkll | sort >$@ | 126 | - ./busybox.mkll | sort >$@ |
@@ -119,6 +135,7 @@ clean: | |||
119 | - rm -f busybox.links *~ *.o core | 135 | - rm -f busybox.links *~ *.o core |
120 | - rm -rf _install | 136 | - rm -rf _install |
121 | - cd tests && $(MAKE) clean | 137 | - cd tests && $(MAKE) clean |
138 | - rm -f BusyBox.html BusyBox.1 BusyBox.txt pod2html* | ||
122 | 139 | ||
123 | distclean: clean | 140 | distclean: clean |
124 | - rm -f busybox | 141 | - rm -f busybox |
@@ -127,8 +144,7 @@ distclean: clean | |||
127 | install: busybox busybox.links | 144 | install: busybox busybox.links |
128 | ./install.sh $(PREFIX) | 145 | ./install.sh $(PREFIX) |
129 | 146 | ||
130 | dist release: distclean | 147 | dist release: distclean doc |
131 | ( cd docs ; $(MAKE) ) | ||
132 | cd ..; \ | 148 | cd ..; \ |
133 | rm -rf busybox-$(VERSION); \ | 149 | rm -rf busybox-$(VERSION); \ |
134 | cp -a busybox busybox-$(VERSION); \ | 150 | cp -a busybox busybox-$(VERSION); \ |