UPS: apcupsd clean sources
[tomato.git] / release / src / router / apcupsd / doc / Makefile
blobee5b84629a9a7586e561a90a689c1878c148ef9b
1 topdir:=..
3 SUBDIRS =
4 include $(topdir)/autoconf/targets.mak
6 all-targets: apcupsd.man.txt apcaccess.man.txt apctest.man.txt \
7 apccontrol.man.txt apcupsd.conf.man.txt
9 apcupsd.man.txt: apcupsd.8
10 $(call MANIFY,$<,$@)
11 apcaccess.man.txt: apcaccess.8
12 $(call MANIFY,$<,$@)
13 apctest.man.txt: apctest.8
14 $(call MANIFY,$<,$@)
15 apccontrol.man.txt: apccontrol.8
16 $(call MANIFY,$<,$@)
17 apcupsd.conf.man.txt: apcupsd.conf.5
18 $(call MANIFY,$<,$@)
20 all-install: install-man
21 all-uninstall: uninstall-man
23 install-man:
24 $(call MKDIR,$(mandir)/man8)
25 $(call INSTDATA,644,apcupsd.8,$(mandir)/man8/apcupsd.8)
26 $(call INSTDATA,644,apcaccess.8,$(mandir)/man8/apcaccess.8)
27 $(call INSTDATA,644,apctest.8,$(mandir)/man8/apctest.8)
28 $(call INSTDATA,644,apccontrol.8,$(mandir)/man8/apccontrol.8)
29 $(call MKDIR,$(mandir)/man5)
30 $(call INSTDATA,644,apcupsd.conf.5,$(mandir)/man5/apcupsd.conf.5)
32 uninstall-man:
33 $(call UNINST,$(mandir)/man8/apcupsd.8)
34 $(call UNINST,$(mandir)/man8/apcaccess.8)
35 $(call UNINST,$(mandir)/man8/apctest.8)
36 $(call UNINST,$(mandir)/man8/apccontrol.8)
37 $(call UNINST,$(mandir)/man5/apcupsd.conf.5)