On Mon, Sep 20, 2010 at 2:11 PM, Abraham Varricatt <
[email protected]<abraham.varricatt%[email protected]>
> wrote:
> We have a help message associated with the ./configure script. I'd like to
> add something similar to the resulting "Makefile" as well.
>
Here is my patch,
diff -r e3f0d265e8d6 Makefile.in
--- a/Makefile.in Tue Sep 14 06:58:43 2010 -0400
+++ b/Makefile.in Mon Sep 20 07:29:37 2010 -0400
@@ -393,7 +393,21 @@
FAQ.html:
local/FAQ2HTML FAQ
-.PHONY: docs docsdir mancp testdirs test TAGS
+help:
+ @echo "\'make\' is used to build the Net-SNMP 5.5 utilities"
+ @echo ""
+ @echo "Usage: make [OPTION]"
+ @echo ""
+ @echo "<no options> This will build the entire package"
+ @echo "agent Only build the net-snmp agent"
+ @echo "apps Build the net-snmp application suite"
+ @echo "docs Generate documentation"
+ @echo "docsdox Doxygen-assisted documentation for source
code"
+ @echo "mancp Build the man pages"
+ @echo "install Install net-snmp to current system"
+ @echo "uninstall Uninstall net-snmp from current system"
+
+.PHONY: docs docsdir mancp testdirs test TAGS help
# note: tags and docs are phony to force rebulding
.PHONY: snmplib agent apps \
snmpget snmpbulkget snmpwalk snmpbulkwalk snmptranslate snmpstatus \
Not all the options are listed, yes, but that's all I understand right now.
I'll add the rest in later.
Wondering how to submit a patch,
Abraham V.
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders