[BusyBox] [PATCH] new-applet-HOWTO diff.
lists at zelow.no
Sun Oct 19 15:13:37 UTC 2003
[good old resend]
> I've been playing around with an attempt to make a add-applet
> perl script but all I've gotten out of it so far is a diff of
> new-applet-HOWTO.txt, the files are alot more complex than
> I hoped for.
> but it is be updated according to the newest structure.
> cvs diff docs/new-applet-HOWTO.txt
-------------- next part --------------
RCS file: /var/cvs/busybox/docs/new-applet-HOWTO.txt,v
retrieving revision 1.7
diff -u -u -r1.7 new-applet-HOWTO.txt
--- docs/new-applet-HOWTO.txt 18 Mar 2002 16:03:00 -0000 1.7
+++ docs/new-applet-HOWTO.txt 8 Sep 2002 09:56:18 -0000
@@ -14,8 +14,9 @@
First, write your applet. Be sure to include copyright information at the
top, such as who you stole the code from and so forth. Also include the
mini-GPL boilerplate. Be sure to name the main function <applet>_main instead
-of main. And be sure to put it in <applet>.c. For a new applet mu, here is
-the code that would go in mu.c:
+of main. And be sure to put it in <applet>.c. Usage do not have to be taken care of by your applet.
+For a new applet mu, here is the code that would go in mu.c:
----begin example code------
@@ -86,11 +87,11 @@
Find the appropriate directory for your new applet.
-Add the applet to the applet directory Makefile:
+Add the applet to Makefile.in in the chosen applet directory:
obj-$(CONFIG_MU) += mu.o
-Add the applet to the applet directory config.in:
+Add the applet to config.in in the chosen applet directory:
bool 'mu' CONFIG_MU
@@ -146,9 +147,10 @@
The Grand Announcement
-Then create a diff -urN of the files you added (<applet>.c, usage.c,
-applets.h, Config.h) and send it to the mailing list:
-busybox at busybox.net. Sending patches as attachments is preferred, but
+Then create a diff -urN of the files you added (<appletdir/><applet>.c, usage.c,
+applets.h, Config.h, <appletdir>/Makefile.in, <appletdir>/config.in)
+and send it to the mailing list:
+busybox at busybox.net.
+Sending patches as attachments is preferred, but not required.
More information about the busybox