summaryrefslogtreecommitdiffstats
path: root/lib/puppet/external/nagios/makefile
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2007-12-27 13:59:32 -0600
committerLuke Kanies <luke@madstop.com>2007-12-27 13:59:32 -0600
commit9b1d0366cbd92e3982e6db247786b5d5a0348eae (patch)
tree9397597c7bbd49232efda78231bb2c8ffda85f13 /lib/puppet/external/nagios/makefile
parentc4ed43c2a1ad9ab865e3da6b8b7fad28222c3451 (diff)
downloadpuppet-9b1d0366cbd92e3982e6db247786b5d5a0348eae.tar.gz
puppet-9b1d0366cbd92e3982e6db247786b5d5a0348eae.tar.xz
puppet-9b1d0366cbd92e3982e6db247786b5d5a0348eae.zip
Adding the first round of Nagios code. There are no
tests here, but at least a single Nagios type is functional. Now I need to do some metaprogramming so this works for all nagios types, and add tests for the whole thing.
Diffstat (limited to 'lib/puppet/external/nagios/makefile')
-rw-r--r--lib/puppet/external/nagios/makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/puppet/external/nagios/makefile b/lib/puppet/external/nagios/makefile
new file mode 100644
index 000000000..fc14564b7
--- /dev/null
+++ b/lib/puppet/external/nagios/makefile
@@ -0,0 +1,9 @@
+all: parser.rb
+
+debug: parser.rb setdebug
+
+parser.rb: grammar.ry
+ racc -E -oparser.rb grammar.ry
+
+setdebug:
+ perl -pi -e 's{\@yydebug =.*$$}{\@yydebug = true}' parser.rb