]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - doc/Makefile.in
ShadowIRCd 6.3.2
[irc/rqf/shadowircd.git] / doc / Makefile.in
index 2c59ff4bd549fd890a60a471871b8480303d33dc..e78b2071bfddd2b2600d2d159149afa05babf27f 100644 (file)
@@ -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