CP = @CP@
TOUCH = @TOUCH@
+PROGRAM_PREFIX = @PROGRAM_PREFIX@
+
prefix = @prefix@
exec_prefix = @exec_prefix@
exec_suffix = @exec_suffix@
MANPAGES = ircd.8
CONFS = example.conf reference.conf
-DEFAULTCONFS = kline.conf dline.conf xline.conf resv.conf
SSL_LIBS = @SSL_LIBS@
SSL_INCLUDES = @SSL_INCLUDES@
$(INSTALL_DATA) $$i $(DESTDIR)$(confdir); \
done
- @for i in $(DEFAULTCONFS); do \
- if test ! -f $(DESTDIR)$(confdir)/$$i; then \
- echo "ircd: creating config file ($$i)"; \
- ${TOUCH} $(DESTDIR)$(confdir)/$$i; \
- fi; \
- done
-
-@if test ! -f $(DESTDIR)$(confdir)/ircd.motd; then \
echo "ircd: installing motd file (ircd.motd)"; \
$(INSTALL_DATA) ircd.motd $(DESTDIR)$(confdir); \
@echo "ircd: installing manpage"
@for i in $(MANPAGES); do \
- if test ! -f $(DESTDIR)$(mandir)/$$i; then \
- $(INSTALL_DATA) $$i $(DESTDIR)$(mandir); \
+ if test ! -f $(DESTDIR)$(mandir)/$(PROGRAM_PREFIX)$$i; then \
+ $(INSTALL_DATA) $$i $(DESTDIR)$(mandir)/$(PROGRAM_PREFIX)$$i; \
fi; \
done