bin_PROGRAMS = wakeup pwm curtain lightswitch lightcontrol read_serial
sbin_SCRIPTS = startpwm
-wakeup_SOURCES = wakeup.cpp event.cpp logging.cpp
+wakeup_SOURCES = wakeup.cpp event.cpp logging.cpp sunrise.cpp
pwm_SOURCES = pwm.c
curtain_SOURCES = curtain.c
lightswitch_SOURCES = lightswitch.c
lightcontrol_SOURCES = lightcontrol.cpp logging.cpp
-sunrise_SOURCES = sunrise.cpp
read_serial_SOURCES = read_serial.cpp
LDADD = -lTachyon -lACL
+
+install-exec-hook:
+ chmod u+s $(DESTDIR)$(bindir)/curtain