From 5e068a2f2828b07efa33f3dbebe4a9d88a7d73ad Mon Sep 17 00:00:00 2001 From: Bram Matthys Date: Wed, 30 Dec 2020 13:44:50 +0100 Subject: [PATCH] Add symlink 'source' in the installdir to the UnrealIRCd source. Useful for scripting purposes. --- Makefile.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile.in b/Makefile.in index 0450111f1..71a104dd9 100644 --- a/Makefile.in +++ b/Makefile.in @@ -230,6 +230,8 @@ install: all $(INSTALL) -m 0600 server.key.pem $(DESTDIR)@CONFDIR@/tls ; \ $(INSTALL) -m 0600 server.cert.pem $(DESTDIR)@CONFDIR@/tls ; \ fi + @rm -f $(DESTDIR)@SCRIPTDIR@/source + ln -s @BUILDDIR@ $(DESTDIR)@SCRIPTDIR@/source @echo '' @echo '* UnrealIRCd is now installed.'