aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2007-08-29 08:10:01 -0500
committerRob Landley <rob@landley.net>2007-08-29 08:10:01 -0500
commit7ecedea509f9a5484d122c3c430d84954cb7c811 (patch)
treefdfdb4cf7a179303376b659a8e6ec2e3ac8ac227 /Makefile
parent6ed92f34c01157e03a9afdc6dc1822875cf0d615 (diff)
downloadtoybox-7ecedea509f9a5484d122c3c430d84954cb7c811.tar.gz
Add "help" command. (Building help/help.h requires python, but I'll ship
that file with release versions.)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index bc8e091e..d3436fee 100644
--- a/Makefile
+++ b/Makefile
@@ -52,6 +52,11 @@ toybox_unstripped: gen_config.h $(toyfiles) toys/toylist.h lib/*.h toys.h
toybox: toybox_unstripped
$(STRIP) toybox_unstripped -o toybox
+toys/help.c: toys/help.h
+
+toys/help.h: Config.in toys/Config.in scripts/config2help.py
+ scripts/config2help.py Config.in > toys/help.h
+
instlist: toybox
$(HOSTCC) $(CCFLAGS) -I . scripts/install.c -o instlist