1sbin_PROGRAMS = vmailmgrd 2 3noinst_PODS = vmailmgrd.pod 4noinst_HTMLS = $(noinst_PODS:.pod=.html) 5man_MANS = $(noinst_PODS:.pod=.8) 6 7CLEANFILES = $(man_MANS) $(noinst_HTMLS) $(noinst_PODS) \ 8 pod2html-dircache pod2html-itemcache 9EXTRA_DIST = $(man_MANS) $(noinst_HTMLS) $(noinst_PODS) 10 11all: docs 12 13docs: $(noinst_HTMLS) $(noinst_TXTS) 14 15dist-hook: 16 touch $(distdir)/*.html $(distdir)/*.[123456789] 17 18vmailmgrd.pod: main.cc ../configure.in ../lib/cli++/cli++topod.pl 19 perl ../lib/cli++/cli++topod.pl $< >$@ 20%.8: %.pod ../configure.in; $(POD2MAN) --section=8 $< >$@ 21%.html: %.pod; $(POD2HTML) $< >$@ 22 23INCLUDES = -I../lib 24 25vmailmgrd_SOURCES = daemon.h \ 26 adduser.cc \ 27 autoresponse.cc \ 28 chattr.cc \ 29 check.cc \ 30 command.h command.cc \ 31 deluser.cc \ 32 dispatch.cc \ 33 listdomain.cc \ 34 log.h log.cc \ 35 lookup.cc \ 36 main.cc \ 37 stat.cc \ 38 state.h state.cc 39vmailmgrd_LDADD = ../lib/libvmailmgr.a ../lib/cli++/libcli++.a 40