UPS: apcupsd support with gui
[tomato.git] / release / src / router / apcupsd / platforms / Makefile
blob6056a8a96d38b7d2288270f48232a07adc7e4fa1
1 .NOTPARALLEL:
3 topdir:=..
5 SUBDIRS = etc bin
6 #$(DISTDIR)
7 include $(topdir)/autoconf/targets.mak
9 all-install: install-platform
10 all-uninstall: uninstall-platform
12 install-platform:
13 $(call MKDIR,$(sysconfdir))
14 $(if $(wildcard ./$(DISTNAME)/apccontrol), \
15 $(call INSTORIG,744,$(DISTNAME)/apccontrol,$(sysconfdir)), \
16 $(call INSTORIG,744,apccontrol,$(sysconfdir)))
17 $(if $(HALPOLICYDIR),$(call MKDIR,$(HALPOLICYDIR)))
18 $(if $(HALPOLICYDIR),$(call INSTDATA,644,80-apcupsd-ups-policy.fdi,$(HALPOLICYDIR)))
20 uninstall-platform:
21 $(call UNINST,$(sysconfdir)/apccontrol)
22 $(if $(HALPOLICYDIR),$(call UNINST,$(HALPOLICYDIR)/80-apcupsd-ups-policy.fdi))