diff options
author | Erik Andersen | 2000-05-03 03:19:06 +0000 |
---|---|---|
committer | Erik Andersen | 2000-05-03 03:19:06 +0000 |
commit | 0a704e8ff62a7fdcd08f1fcc89ca66133da2db07 (patch) | |
tree | 6c6b2f7615f63ddf6f209c23ce02424b58346651 /Makefile | |
parent | a19bc64653aab46f6335ed6aa7d7d70ff7b5fb0b (diff) | |
download | busybox-0a704e8ff62a7fdcd08f1fcc89ca66133da2db07.zip busybox-0a704e8ff62a7fdcd08f1fcc89ca66133da2db07.tar.gz |
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 CFLAGS += -DINIT_SCRIPT='"$(BB_INIT_SCRIPT)"' endif -all: busybox busybox.links +all: busybox busybox.links doc + +doc: BusyBox.txt BusyBox.1 BusyBox.html + +BusyBox.txt: docs/busybox.pod + @echo + @echo BusyBox Documentation + @echo + pod2text docs/busybox.pod > BusyBox.txt + +BusyBox.1: docs/busybox.pod + pod2man --center=BusyBox --release="version $(VERSION)" docs/busybox.pod > BusyBox.1 + +BusyBox.html: docs/busybox.pod + pod2html docs/busybox.pod > BusyBox.html + - rm -f pod2html* + +clean: busybox: $(OBJECTS) $(CC) $(LDFLAGS) -o $@ $^ $(LIBRARIES) $(STRIP) - ( cd docs ; $(MAKE) ) busybox.links: busybox.def.h - ./busybox.mkll | sort >$@ @@ -119,6 +135,7 @@ clean: - rm -f busybox.links *~ *.o core - rm -rf _install - cd tests && $(MAKE) clean + - rm -f BusyBox.html BusyBox.1 BusyBox.txt pod2html* distclean: clean - rm -f busybox @@ -127,8 +144,7 @@ distclean: clean install: busybox busybox.links ./install.sh $(PREFIX) -dist release: distclean - ( cd docs ; $(MAKE) ) +dist release: distclean doc cd ..; \ rm -rf busybox-$(VERSION); \ cp -a busybox busybox-$(VERSION); \ |