aboutsummaryrefslogtreecommitdiff
path: root/Makefile (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Makefile: remove ./ from build targetsHisham Muhammad2018-07-181-6/+6
| | | | Improves compatibility with FreeBSD
* Use $(CURDIR) instead of $(PWD) in MakefilesPeter Melnichenko2018-07-101-4/+4
| | | | | | | $(CURDIR) is built-in and is guaranteed to always work. $(PWD) is inherited from the shell and may be incorrect or missing. In particular, it is invalid if make is run by some program that changes current directory prior to the execution.
* Makefile: minor improvement to wrapper scriptHisham Muhammad2018-07-021-2/+2
|
* Experimental Windows cross-compiled binary buildHisham Muhammad2018-07-021-6/+18
| | | | | | | | | | | | This commit consolidates the work that has been ongoing over the last few weeks in producing the single-binary builds of LuaRocks based on the new distribution model described in https://github.com/luarocks/luarocks/wiki/Project:-LuaRocks-new-distribution-model The single-binary build is in a good shape for Linux, it's a work-in-progress for Windows (binaries do build, but some work on the dependencies is still necessary), and is untested in macOS.
* Unix: new build systemHisham Muhammad2018-07-011-144/+102
| | | | | | | | | | * Reworked configure script * Now passes shellcheck * New Makefile for Unix * Simplified `make` and `make install` targets * Simplified `make bootstrap` target * New targets `make binary` and `make install-binary` build and install an all-in-one binary of LuaRocks
* Makefile: make `build` a dependency of `install`Hisham Muhammad2018-06-271-1/+1
| | | | Fixes #832.
* Make Makefiles install site_config.lua in new location.Hisham Muhammad2017-10-041-2/+2
| | | | Fixes #735.
* Use versioned files only. (#734)Hisham Muhammad2017-10-041-28/+24
| | | | | | | | Let's take the opportunity of a new major version to make an important cleanup: getting rid of the error-prone unversioned configuration files. This drops support for: * Unversioned config.lua -> use config-5.x.lua * Unversioned luarocks/site_config.lua -> it always generates luarocks/core/site_config_5_x.lua * Unversioned lib/luarocks/rocks -> it always uses lib/luarocks/rocks-5.x
* Install site_config.lua after Makefile calls luarocks.Hisham2016-10-061-3/+6
| | | | | | Otherwise, when luarocks removes a previous version it may end up deleting the site_config.lua file that was freshly installed. Closes #625.
* Ensure entries are readable.Hisham2016-05-251-2/+2
|
* Fixes #332.Hisham Muhammad2015-03-191-2/+3
|
* This is for Makefile.luarocks only.Hisham Muhammad2015-03-171-5/+1
|
* New set of Makefiles for self-upgrade.Hisham Muhammad2015-03-171-38/+3
|
* Make sure suffix is produced when installing via rock (see #323)Hisham Muhammad2015-03-171-4/+11
| | | | | and copy over site_config.lua, in case we're installing to a different prefix (see https://sourceforge.net/p/luarocks/mailman/message/33608257/)
* Transition to MoonRocks. Add `luarocks upload` command for uploading into ↵Hisham Muhammad2014-05-261-1/+2
| | | | MoonRocks.
* Merge branch 'master' of https://github.com/keplerproject/luarocks into ↵mpeterv2014-03-211-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | lua52_compat Conflicts: src/bin/luarocks src/luarocks/fs/unix/tools.lua src/luarocks/path.lua Fixed: src/luarocks/path_cmd.lua: moved meta-data from path.lua Makefile: added path_cmd.lua to the list of installed files
* | Removed module calls from installation scriptsmpeterv2014-03-201-17/+18
| |
* | Split luarocks.path modulempeterv2014-03-201-1/+1
|/
* Prepare to release version 2.1.2v2.1.2Hisham Muhammad2014-01-101-1/+1
|
* Make default rocks_trees named as well.Hisham Muhammad2013-12-181-2/+2
|
* Remove incompatibility in the sed command, as reported in the Lua mailing list.Hisham Muhammad2013-11-121-1/+1
|
* Merge changes proposed by @siffiejoe in #172.Hisham Muhammad2013-11-121-16/+15
| | | | (Sorry about the clumsiness of not doing a proper merge.)
* Symlinks shouldn't refer to DESTDIR.Hisham Muhammad2013-11-041-1/+1
| | | | Patch submitted by Dmitri Paduchikh.
* Add escaping of ]] preventing code injection as contributed by @siffiejoe. ↵Hisham Muhammad2013-10-281-1/+3
| | | | See #154, #167.
* wrapper scripts don't mess with env-vars of subprocessesPhilipp Janda2013-10-131-6/+1
|
* Merge remote-tracking branch 'upstream/master' into linux-multiarchPhilipp Janda2013-10-131-2/+3
|\
| * Add reference to write_rockspec.lua in MakefileHisham Muhammad2013-10-121-2/+3
| |
* | changed multiarch detection and site_config variablesPhilipp Janda2013-09-271-1/+2
| |
* | support for tables in (runtime_)external_deps_subdirs.*Philipp Janda2013-09-261-2/+2
| |
* | detect native multiarch directory on linuxPhilipp Janda2013-09-251-0/+4
|/
* Should fix installation of parallel LuaRocks versions when using 'make ↵Hisham Muhammad2013-08-281-1/+6
| | | | | | bootstrap' on both. Thanks to Philipp Janda for the test case!
* Fix 'make build'Hisham Muhammad2013-07-031-1/+1
|
* Preparing for LuaRocks 2.1.0... let's try to install as a rock this time!v2.1.0rc1Hisham Muhammad2013-07-021-1/+8
|
* General improvements for Lua 5.1 and 5.2 coexistance:Hisham Muhammad2013-04-121-3/+11
| | | | | | | * Add --versioned-rocks-dir option to Unix installer, which makes it use paths such as /lib/luarocks/rocks-5.X, and /etc/luarocks/config-5.X.lua (where X is 1 or 2). * Make configure script on Unix autodetect the presence of previous LuaRocks installations and adapt accordingly to avoid conflicts. * Support luarocks.site_config_5_X for users who wish to run two versions from the same source tree (may be useful for LR development). * Try to load config-5.X.lua from home directory before trying config.lua.
* compile rclauncher binary wrapper on windows on every buildFabio Mascarenhas2013-04-121-1/+1
|
* update check_makefile ruleHisham Muhammad2012-11-051-2/+2
|
* Add check based on @avnik's pull request. Closes #95.Hisham Muhammad2012-10-081-1/+6
|
* Remove duplicate add.lua from LUAROCKS_FILES in MakefileReuben Thomas2012-09-251-1/+1
|
* Add missing purge.lua to LUAROCKS_FILES in MakefileReuben Thomas2012-09-251-1/+1
|
* preparing 2.0.11Hisham Muhammad2012-09-211-2/+2
|
* Add mirroring support. String-array entries in the array ofHisham Muhammad2012-09-181-3/+0
| | | | rocks_servers will be treated as a list of mirrors.
* fix behavior of $(LUA)v2.0.10Hisham Muhammad2012-07-171-0/+4
|
* force path to ensure the local environment does not mess with 'bootstrap'Hisham Muhammad2012-06-261-1/+1
|
* Makefile: fix install targets for parallel Make.Reuben Thomas2012-05-231-5/+5
|
* Add -f to some more rm commands which should never fail.Reuben Thomas2012-05-231-3/+3
| | | | | The clean target can be run even if the relevant files have not been created, so the rm shouldn't fail.
* Add new file to MakefileHisham Muhammad2012-05-201-1/+1
|
* compatibility fix suggested by Themroc@githubHisham Muhammad2012-05-071-1/+1
|
* restore file mode when cleaning upHisham Muhammad2012-04-131-0/+1
|
* Make sure permissions are retained, now that the file is rewritten (for ↵Hisham Muhammad2012-03-191-0/+1
| | | | compatibility with implementations of sed that don't support -i)
* avoid error when using make -jHisham Muhammad2012-03-101-4/+4
|