]>
Commit | Line | Data |
---|---|---|
78c8cdff | 1 | NAME = check_openmanage |
2 | VER = $(shell ./$(NAME) -V | head -n 1 | awk '{print $$NF}') | |
3 | ||
4 | default: dist | |
5 | ||
6 | man: | |
7 | pod2man -s 8 -r "`./$(NAME) -V | head -n 1`" -c 'Nagios plugin' $(NAME).pod $(NAME).8 | |
8 | ||
9 | dist: man | |
10 | mkdir $(NAME)-$(VER) | |
11 | mv $(NAME).8 $(NAME)-$(VER) | |
12 | cp $(NAME){,.pod,.php} $(NAME)-$(VER) | |
13 | cp nagios-plugins-check-openmanage.spec $(NAME)-$(VER) | |
14 | cp CHANGES COPYING INSTALL install.bat install.sh README $(NAME)-$(VER) | |
15 | cp -r debian $(NAME)-$(VER) |