61 Commits

Author SHA1 Message Date
Peter Powell
9401f1fbc3 GCC should never assume that this can not be null. 2016-06-27 15:41:27 +01:00
Peter Powell
955b0d74dc Fix extraneous quotes in makefile template. 2016-04-10 04:33:25 +01:00
Peter Powell
eced506220 Delete modules cautiously when doing a deinstall. 2016-03-25 12:33:30 +00:00
Peter Powell
ba0649304a Partially revert "Quote paths in the makefile".
There is no need to quote BASE and {BIN,CON,DAT,MOD,LOG}PATH
because they are alreaady quoted. {BUILD,SOURCE}PATH however
are unquoted so their usages still need to be quoted.

This reverts commit dbcbf9647d0abb421f8a84b41e674f403c91ce8f.
2016-03-25 12:29:52 +00:00
Peter Powell
8aced44661 Fix 'cron' and 'restart' in the helper not forwarding arguments. 2016-03-21 17:15:50 +00:00
Peter Powell
dbcbf9647d Quote paths in the makefile.
This prevents problems caused by paths with spaces in them.
2016-02-26 14:10:57 +00:00
Peter Powell
7da9057946 Fix "make -jX debug install" causing linker errors. 2015-07-29 23:46:33 +01:00
Peter Powell
0207736989 Log STDOUT and STDERR in the launchd script. 2015-06-24 23:06:11 +01:00
Peter Powell
2ad8a6791b Fix system-wide installation of the data and log directories.
The existing method works fine when building with the default
paths but breaks when you are doing a system-wide installation.
2015-06-14 19:39:15 +01:00
Peter Powell
8cae3800ef Fix building when VERBOSE is already set in the environment.
This is a workaround for now. In 2.2 we should prefix all of the
environment variables with INSPIRCD_ to avoid collisions.
2015-03-09 15:26:40 +00:00
Dan Parsons
293c9c66b7 Updated inspircd init script template to make it chkconfig compatible.
Backported from master, PR #901
2014-11-12 22:44:57 +01:00
Peter Powell
d04979df09 Fix some small bugs in the makefile template.
- GCC in C++ mode should be called g++ not gcc.
- ICC in C++ mode should be called icpc not icc.
2014-10-24 23:34:41 +01:00
Peter Powell
21487bc0ae Replace deprecated entry in launchd config with the modern equivalent. 2014-05-18 10:17:07 +01:00
Peter Powell
63c1695d77 Fix a few minor issues with make distclean.
- Only remove the base directory for in-source installs.
- Use full paths to the source directory.
- Update the help message to be more accurate.
2013-04-27 23:09:20 +01:00
Peter Powell
5f6372b2f0 Reorganise configuration files:
- Example config files now end with .conf.example.
- Example text files now end with .txt.example.
- Removed 'inspircd' from the name of multiple example files.
- Added missing oper motd example file.
2013-03-02 15:50:09 +00:00
Peter Powell
0e56edffa3 Use GNU install on Solaris. 2013-01-27 16:54:22 +01:00
Peter Powell
092f9d7ec1 Fix property list arguments. 2012-12-21 01:47:12 +01:00
Peter Powell
0a0aa94537 Fix #380 on BSD make. 2012-12-07 18:38:34 +01:00
Peter Powell
c468e9b368 Fix invalid argument warnings on clang. 2012-12-07 03:32:50 +00:00
Peter Powell
66652af628 Fix the list of files to be removed by make. 2012-12-02 17:58:13 +00:00
Adam
a1f823fdab Fix c2f7fc047c2e5bbb899c820590ce07fee593b28f 2012-10-06 18:25:58 -04:00
ChrisTX
c2f7fc047c Replace hardcoded paths with configurable ones
This patchset aims to ease the packaging of InspIRCd for a system-wide installation scenario.

Changes in detail:
configure: Add the options --log-path and --data-path
m_ssl_gnutls, openssl: Change the hardcoded "conf/" to the existent CONFIG_PATH macro
m_xline_db: Make the location of xline.db configurable. It will use --data-path as default value, but this can be
changed using the configuration files.
2012-10-04 15:14:04 +02:00
Peter Powell
a528d8ddb0 Install example alias and module configuration files as well. 2012-06-12 18:53:50 +01:00
attilamolnar
79fd90ebe0 Fix build on Debian GNU/Hurd platforms, thanks to Jonathan Wiltshire <jmw@debian.org> for the patch
Fixes issue #98 reported by @guikcd
2012-06-12 22:49:28 -07:00
Peter Powell
f4e2332421 Update 'make install' to inform the user about the example config files. 2012-05-04 20:54:30 +01:00
Peter Powell
d219516b43 Install example configuration files into their own directory. 2012-05-01 14:10:35 +01:00
Robby-
5e8f135c6a Headers: update remaining scripts too 2012-04-20 18:33:52 +02:00
Christoph Egger
234aabf36c fix build on kfreebsd
fixes #64
2012-04-16 08:29:41 +02:00
DjSlash
0c23190956 Fix for bug 116, in addition an improvement of the regex is made 2011-03-18 16:04:17 +01:00
Peter Powell
9aa4102cfd Fix "-bundle not allowed with -dynamiclib" issue on OS X 2011-02-27 00:21:45 -05:00
Daniel De Graaf
dd49cf696c Fix taint mode execution 2010-10-20 21:16:10 -04:00
Daniel De Graaf
3dc56e3425 Work around old GNU make's inability to use "else if" 2010-09-28 11:16:34 -04:00
Daniel De Graaf
1570b13174 Build fixes for darwin 2010-09-10 18:38:42 -04:00
Daniel De Graaf
f4c8e92f8e Be consistent in testing PURE_STATIC for defined vs == 1 2010-05-12 20:01:18 -05:00
Daniel De Graaf
df347edbdb Use unit-cc for all compile and and link tasks
This allows splitting .o and .so generation for distcc builds, and also
removes some unneeded autodetection of build stage.
2010-05-07 14:04:53 -05:00
Dennis Friis
76ddca717f typo 2010-04-21 10:53:46 +02:00
Dennis Friis
7db569ca93 Fix typo in argument to valdebug spotted by daemonic. 2010-04-05 21:41:06 +02:00
Daniel De Graaf
cd6b7a8cda Split up API_VERSION number
Since we can make API changes in multiple branches at the same time,
a single sequence number is insufficient. Use two numbers to indicate
the major version and API increment.
2010-04-01 19:01:32 -05:00
Daniel De Graaf
24e5daf4f9 Improve INSTUID error message 2010-03-29 18:51:32 -05:00
Daniel De Graaf
81ea1c49fa Remove references to SVN from the Makefile 2010-03-25 15:51:40 -05:00
danieldg
5a7d1bbe19 Improve the output of "make install"
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12660 e03df62e-2008-0410-955e-edbf42e46eb7
2010-03-24 19:52:07 +00:00
danieldg
f02f3a24aa Remove checkconf, it is no longer needed
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12628 e03df62e-2008-0410-955e-edbf42e46eb7
2010-03-13 02:02:52 +00:00
danieldg
73d9ee96e1 Clean up the Makefile a bit, add DESTDIR
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12620 e03df62e-2008-0410-955e-edbf42e46eb7
2010-03-11 17:00:21 +00:00
danieldg
1824ae8d9d Disable -O2 when compiling with full debug, allow make D=2 to enable debug+optimize
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12498 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-19 16:31:47 +00:00
danieldg
040cdb13e4 Remove unused exports; counting is not for programmers
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12457 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-14 18:34:35 +00:00
danieldg
04ea7de4a7 Copy example configs and such to run/conf
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12448 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-13 04:59:45 +00:00
danieldg
bd64961912 Improve support for NetBSD
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12438 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-12 00:03:44 +00:00
danieldg
7cc4e61f0e Allow "make QUICK=1" to speed up the compile (disables -O2)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12431 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-11 04:34:38 +00:00
danieldg
1d17a9d23e Move configuration examples to docs, remove automatic overwrite on make install
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12383 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-06 04:29:02 +00:00
danieldg
c5cda58914 Linux apparently needs another library for linking now...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12294 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-18 19:49:07 +00:00