summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRob Landley2006-04-27 23:34:46 +0000
committerRob Landley2006-04-27 23:34:46 +0000
commit7e21d5f6b1bdac9c20139e8bef82b17559e548a0 (patch)
tree08c1b12a37d2ef74b4471e154fe4227d3b6ae917 /Makefile
parentd5b9428bb6e9d7524f6ef24868ce6394ade08255 (diff)
downloadbusybox-7e21d5f6b1bdac9c20139e8bef82b17559e548a0.zip
busybox-7e21d5f6b1bdac9c20139e8bef82b17559e548a0.tar.gz
Patch from Dennis Vlasenko to add the option to compress help text.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index bcf25fe..e8730bf 100644
--- a/Makefile
+++ b/Makefile
@@ -405,6 +405,13 @@ include/bbconfigopts.h: .config
$(Q)$(top_srcdir)/scripts/config/mkconfigs > $@
endif
+scripts/usage: $(top_srcdir)/scripts/usage.c .config
+ $(HOSTCC) $(HOSTCFLAGS) -I$(top_srcdir)/include -o $@ $<
+
+DEP_INCLUDES += include/usage_compressed.h
+include/usage_compressed.h: .config scripts/usage
+ $(Q)sh $(top_srcdir)/scripts/usage_compressed "$(top_srcdir)/scripts" > $@
+
depend dep: .depend
.depend: scripts/bb_mkdep $(DEP_INCLUDES)
$(disp_gen)