X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/751894543be0146dc2ea22dd1ad1a7e4ff31e3f3..5a0814763ce8f47b4317f0f7d20eafc873bab064:/doc/Makefile.in?ds=inline diff --git a/doc/Makefile.in b/doc/Makefile.in index 2c59ff4..e78b207 100644 --- a/doc/Makefile.in +++ b/doc/Makefile.in @@ -15,6 +15,8 @@ RM = @RM@ CP = @CP@ TOUCH = @TOUCH@ +PROGRAM_PREFIX = @PROGRAM_PREFIX@ + prefix = @prefix@ exec_prefix = @exec_prefix@ exec_suffix = @exec_suffix@ @@ -31,7 +33,6 @@ mandir = @mandir@/man8 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@ @@ -40,6 +41,8 @@ IRCDLIBS = @LIBS@ $(SSL_LIBS) INCLUDES = -I../include $(SSL_INCLUDES) CPPFLAGS = ${INCLUDES} @CPPFLAGS@ + +all: build install-mkdirs: -@if test ! -d $(DESTDIR)$(confdir); then \ @@ -61,13 +64,6 @@ install: install-mkdirs build $(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); \ @@ -79,8 +75,8 @@ install: install-mkdirs build @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