# Makefile to install help files # $Id: Makefile.in 33 2005-10-02 20:50:00Z knight $ INSTALL= @INSTALL@ INSTALL_DATA= @INSTALL_DATA@ RM= @RMPROG@ DPATH = @DPATH@ top_srcdir = @top_srcdir@ prefix= @DPATH@ exec_prefix= @exec_prefix@ uhelpdir= ${DPATH}/help/users ohelpdir= ${DPATH}/help/opers SYMLINKS= admin away challenge invite names nick version \ ison join kick help motd oper part quit time cnotice \ cprivmsg credits copyright info ircops ison links \ lusers map notice pass rules silence sethost topic \ userhost userip wallchops wallhops wallvoices whois \ commands user all: build: clean: depend: install: @echo installing help files... -@if test ! -d $(prefix)/help; then \ echo "mkdir $(prefix)/help"; \ mkdir $(prefix)/help; \ fi -@if test ! -d $(prefix)/help/users; then \ echo "mkdir $(prefix)/help/users"; \ mkdir $(prefix)/help/users; \ fi -@if test ! -d $(prefix)/help/opers; then \ echo "mkdir $(prefix)/help/opers"; \ mkdir $(prefix)/help/opers; \ fi @for help in ${top_srcdir}/help/opers/*; do \ if [ -f $$help ]; then \ ${INSTALL_DATA} $$help $(ohelpdir); \ fi \ done @for help in ${top_srcdir}/help/users/*; do \ if [ -f $$help ]; then \ $(INSTALL_DATA) $$help $(uhelpdir); \ fi \ done @for link in $(SYMLINKS); do \ rm -f $(uhelpdir)/$$link; \ ln -s $(ohelpdir)/$$link $(uhelpdir); \ done distclean: ${RM} -f Makefile depend: