+breezed: breezed.c
+ $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
+
+install: breezed $(DESTDIR)/etc/breezed.conf
+ install -m 755 breezed $(BINARY_PATH)
+ install -m 755 breezed.sh $(DESTDIR)/etc/init.d/
+ install -m 644 breezed.1 $(MAN_PATH)
+ gzip $(MAN_PATH)/breezed.1
+ install -m 755 breezed-pm-utils.sh $(PM_SLEEPD)/50breezed
+ update-rc.d breezed.sh defaults
+ $(DESTDIR)/etc/init.d/breezed.sh start
+
+uninstall:
+ $(DESTDIR)/etc/init.d/breezed.sh stop
+ update-rc.d -f breezed.sh remove
+ rm $(PM_SLEEPD)/50breezed
+ rm $(MAN_PATH)/breezed.1.gz
+ rm $(DESTDIR)/etc/init.d/breezed.sh
+ rm $(BINARY_PATH)/breezed