prefix= @prefix@ exec_prefix = @exec_prefix@ bindir = @bindir@ datadir = @datadir@ docdir = @datadir@/doc/imcom mandir = @mandir@ all: find ./ -type f -exec chmod a-x '{}' ';' chmod +x imcom CLI.py LogHandler.py AccountCreator.py install: install-bin install-doc install-bin: install-modules install -d -m 0755 ${bindir} ${BSD_INSTALL_SCRIPT} imcom ${bindir} install-modules: install -d -m 0755 ${datadir}/imcom install -d -m 0755 ${datadir}/imcom/modules install -m 0644 *.py ${datadir}/imcom install -m 0644 modules/*.py ${datadir}/imcom/modules ${BSD_INSTALL_SCRIPT} CLI.py LogHandler.py AccountCreator.py ${datadir}/imcom install-doc: install -d -m 0755 ${mandir}/man1 ${BSD_INSTALL_MAN} docs/imcom.1 ${mandir}/man1/imcom.1 .if !defined(NOPORTDOCS) install -d -m 0755 ${docdir} ${BSD_INSTALL_DATA} docs/*.html ${docdir} ${BSD_INSTALL_DATA} CONTRIBUTORS LICENSE README README.autostatus TODO WHATSNEW ${docdir} .endif uninstall: rm -rf ${docdir} rm -rf ${datadir}/imcom rm -f ${bindir}/imcom rm -f ${mandir}/man1/imcom.1 clean: rm -f config.status config.log config.cache *.pyc distclean: clean rm -rf CVS docs/CVS autom4te.cache rm -f imcom Makefile chmod a-x CLI.py LogHandler.py AccountCreator.py rm -f *~ .#* .PHONY: distclean clean unstall install all install-modules install-bin install-doc