meillo@61: EXTRA_DIST = examples/* docs/* man/* tpl/* meillo@0: meillo@57: SUBDIRS = src man meillo@0: meillo@58: install-data-local: log_dir spool_dir uid_bit conf_dir tpl_dir run_dir doc_dir meillo@0: meillo@61: meillo@0: conf_dir: $(DESTDIR)@with_confdir@ meillo@0: meillo@0: $(DESTDIR)@with_confdir@: meillo@0: install -d $(DESTDIR)@with_confdir@ meillo@0: meillo@61: meillo@0: tpl_dir: $(DESTDIR)@datadir@/tpl meillo@0: meillo@0: $(DESTDIR)@datadir@/tpl: conf_dir meillo@0: install -d $(DESTDIR)@datadir@/masqmail/tpl meillo@61: cp tpl/* $(DESTDIR)@datadir@/masqmail/tpl meillo@61: chmod 644 $(DESTDIR)@datadir@/masqmail/tpl/* meillo@0: meillo@61: meillo@61: doc_dir: meillo@58: install -d $(DESTDIR)@docdir@ meillo@58: cp -r docs $(DESTDIR)@docdir@ meillo@58: cp -r examples $(DESTDIR)@docdir@ meillo@58: cp ChangeLog NEWS AUTHORS COPYING README TODO $(DESTDIR)@docdir@ meillo@58: meillo@0: meillo@0: uid_bit: $(DESTDIR)@prefix@/sbin/masqmail meillo@0: chmod u+s $(DESTDIR)@prefix@/sbin/masqmail meillo@0: meillo@61: meillo@0: run_dir: meillo@0: install -d -o @with_user@ -g @with_group@ $(DESTDIR)/var/run/masqmail meillo@0: meillo@61: meillo@61: meillo@61: log_dir: $(DESTDIR)@with_logdir@ meillo@61: meillo@0: $(DESTDIR)@with_logdir@: meillo@0: [ -d `dirname $(DESTDIR)@with_logdir@` ] || \ meillo@0: install -d `dirname $(DESTDIR)@with_logdir@` meillo@0: install -d -o @with_user@ -g @with_group@ $(DESTDIR)@with_logdir@ meillo@0: meillo@61: meillo@61: meillo@61: spool_dir: $(DESTDIR)@with_spooldir@ meillo@61: meillo@0: $(DESTDIR)@with_spooldir@: meillo@0: [ -d `dirname $(DESTDIR)@with_spooldir@` ] || \ meillo@0: install -d `dirname $(DESTDIR)@with_spooldir@` meillo@0: install -d -o @with_user@ -g @with_group@ $(DESTDIR)@with_spooldir@ meillo@0: install -d -o @with_user@ -g @with_group@ $(DESTDIR)@with_spooldir@/lock meillo@0: install -d -o @with_user@ -g @with_group@ $(DESTDIR)@with_spooldir@/input meillo@0: install -d -o @with_user@ -g @with_group@ $(DESTDIR)@with_spooldir@/popuidl meillo@0: