https://github.com/duckietown/Software
Raw File
Tip revision: 717b98afb26174baf033e24688f280bd46fc895b authored by Andrea Censi on 16 September 2018, 21:14:57 UTC
Merge branch 'master18' into andrea-better-camera-calib
Tip revision: 717b98a
Makefile.maintenance.mk

maintenance:
	@echo "$(sep)Maintenance"
	@echo
	@echo 'A couple of utilities for robot maintenance.'
	@echo
	@echo '- `make maintenance-fix-time`:     Fixes the time.'
	@echo '- `make  maintenance-clean-pyc`:    Removes pyc files.'
	@echo
	@echo
	
maintenance-fix-time:
	echo 'Calling ntpdate to fix time'
	sudo ntpdate -u us.pool.ntp.org
	# sudo ntpdate -s time.nist.gov

maintenance-clean-pyc:
	@echo
	@echo Cleaning '*.pyc' files around
	find catkin_ws/ -name '*.pyc' -delete
back to top