# Crude thing to install the lightmeter driver. This should be replaced # by a proper setup.py ASAP (and then we'll have to think about what # to do with the usb1 module, and whether to split the whole thing up # into proper modules). install: install -m 755 lightmeter.py /usr/local/bin /usr/local/bin/lightmeter.py initscript > /etc/init.d/lightmeter chmod 755 /etc/init.d/lightmeter test -x /usr/sbin/update-rc.d && update-rc.d lightmeter defaults || echo "**** No update-rc.d; please set init.d links manually"