]> jfr.im git - irc/unrealircd/unrealircd.git/commitdiff
- Support installing the ircd binary for people who set --with-spath=<dpath>/bin...
authorNathan Phillip Brink <redacted>
Tue, 5 Jul 2011 04:15:23 +0000 (00:15 -0400)
committerNathan Phillip Brink <redacted>
Tue, 5 Jul 2011 04:15:23 +0000 (00:15 -0400)
Changes
Makefile.in

diff --git a/Changes b/Changes
index 0fc900fdcba9c79e2b4ebdcb4f5c54681cf83bf5..7aac934fbb9c3cd8a94c8cc433eb0bb9b762d31a 100644 (file)
--- a/Changes
+++ b/Changes
 - Check that the automatically-generated cloak keys fit unrealircd's
   own criteria before printing them out. (#4017)
 - Added aliases/atheme.conf, provided by katsklaw (#0003990).
+- Support installing the ircd binary for people who set
+  --with-spath=<dpath>/bin/ircd.
index 8051e454a99a9d53f5d758651651959b95ff87d7..61b5d59299cf9b56725a3e8458def45fda3f24b0 100644 (file)
@@ -206,7 +206,7 @@ depend:
 
 install: all
        $(INSTALL) -m 0700 -d $(IRCDDIR)
-       $(INSTALL) -m 0700 src/ircd $(BINDIR)
+       $(INSTALL) -m 0700 src/ircd $(BINDIR) 2>/dev/null || { $(INSTALL) -m 0700 -d "$$(dirname '$(BINDIR)')"; $(INSTALL) -m 0700 src/ircd $(BINDIR); }
        $(INSTALL) -m 0700 -d $(IRCDDIR)/networks
        $(INSTALL) -m 0600 networks/*.network $(IRCDDIR)/networks
        $(INSTALL) -m 0700 networks/makenet $(IRCDDIR)/networks