You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
585 B
Makefile

napi.gz: napi
gzip -f -9 --keep $<
chmod 644 $@
scp $@ ssd:eloyd/
nagios: napi
gzip -f -9 --keep nlog
rsync -avu nlog napi root@192.168.1.19:/usr/local/bin/
test: napi
@echo "### Checking HGM:"
./napi -t hgm -hg arrs -o i -o h -v | head -5
@echo ""
@echo "### Checking -Q -f .output:"
./napi -Q -f .output | head -5
@echo ""
@echo "Checking file sizes for current and save/file:"
./napi --save asdhjadkajthksdfga.json -v | head -5
./napi | wc
./napi --file asdhjadkajthksdfga.json | wc
rm -f asdhjadkajthksdfga.json
@echo ""
@echo "Checking stats:"
./napi --stats