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.
38 lines
932 B
Makefile
38 lines
932 B
Makefile
binFILES=napi.gz nlog.gz get_profile.sh.gz
|
|
libFILES=ENV
|
|
|
|
sync: $(binFILES)
|
|
rsync -avu $^ ssd:eloyd/
|
|
rsync -avu $^ root@192.168.1.19:/usr/local/bin/
|
|
rsync -avu $^ root@192.168.1.19:/usr/local/bin/
|
|
rsync -avu $(libFILES) root@192.168.1.19:/usr/local/nagios/libexec/
|
|
rsync -avu $(libFILES) root@192.168.1.15:/usr/local/nagios/libexec/
|
|
|
|
napi.gz: napi
|
|
gzip -f -9 --keep $<
|
|
chmod 644 $@
|
|
|
|
nlog.gz: nlog
|
|
gzip -f -9 --keep $<
|
|
chmod 644 $@
|
|
|
|
get_profile.sh.gz: get_profile.sh
|
|
gzip -f -9 --keep $<
|
|
chmod 644 $@
|
|
|
|
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
|