1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-08 13:41:29 +00:00

Add a lua-format Makefile target to format scripts/*.nse.

This commit is contained in:
david
2012-09-13 00:17:42 +00:00
parent 7b1c0155ba
commit bfa954c5ea

View File

@@ -405,6 +405,10 @@ Makefile: Makefile.in config.status
config.status: configure config.status: configure
./config.status --recheck ./config.status --recheck
# Run the lua-format program to fix formatting of NSE files.
lua-format:
./docs/style/lua-format -i scripts/*.nse
makefile.dep: makefile.dep:
$(CXX) -MM $(CPPFLAGS) $(SRCS) > $@ $(CXX) -MM $(CPPFLAGS) $(SRCS) > $@
include makefile.dep include makefile.dep
@@ -426,3 +430,5 @@ smb-serverstats smb-systeminfo SMTPcommands SMTP_openrelay_test \
smtp-check-vulns SNMPcommunitybrute SNMPsysdescr SQLInject SSH-hostkey \ smtp-check-vulns SNMPcommunitybrute SNMPsysdescr SQLInject SSH-hostkey \
SSHv1-support SSLv2-support strangeSMTPport UPnP-info xamppDefaultPass \ SSHv1-support SSLv2-support strangeSMTPport UPnP-info xamppDefaultPass \
zoneTrans db2-info db2-brute html-title robots.txt xmpp sql-injection) zoneTrans db2-info db2-brute html-title robots.txt xmpp sql-injection)
.PHONY: lua-format