]> git.uio.no Git - check_openmanage.git/blame - Makefile
liten bugfix
[check_openmanage.git] / Makefile
CommitLineData
78c8cdff 1NAME = check_openmanage
2VER = $(shell ./$(NAME) -V | head -n 1 | awk '{print $$NF}')
3
4default: dist
5
6man:
7 pod2man -s 8 -r "`./$(NAME) -V | head -n 1`" -c 'Nagios plugin' $(NAME).pod $(NAME).8
8
9dist: 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)