aboutsummaryrefslogtreecommitdiff
path: root/GNUmakefile
AgeCommit message (Collapse)AuthorFilesLines
2016-04-22build: change lpeg into lua integrationMarc André Tanner1-14/+7
Instead of compiling lpeg separately and then copying the object files into the lua source directory, copy the lpeg source files into the lua build tree and build it together.
2016-04-22build: clean up make local/standalone implementationMarc André Tanner1-14/+6
Run configure script for all targets instead of fiddling with Makefile variables directly.
2016-03-24build: use order only dependencies for build folderMarc André Tanner1-10/+11
This prevents unecessary rebuilds when doing consecutive make standalone builds.
2016-03-24build: expose make dependency-local targetMarc André Tanner1-4/+9
Remove more stuff when switching between make local and make standalone.
2016-03-24handle patch as usual sourceChristian Hesse1-4/+8
2016-03-24make sure build directory existsChristian Hesse1-6/+9
Signed-off-by: Christian Hesse <mail@eworm.de>
2016-03-23build: fix make local, improve make standaloneMarc André Tanner1-5/+27
The local target should use the system curses library not a custom build one. Also the two targets are now compatible with each other, meaning that the relevant libraries are correctly rebuilt from scratch against the correct libc.
2016-03-23build: rename package specific targets used for make local/standaloneMarc André Tanner1-27/+27
All targets start with the package name which allows to easily rebuild a package by removing everything matching the shell pattern dependency/build/$package*
2016-03-23do not link lua against ncursesChristian Hesse1-1/+1
2016-03-23fix dependencies for standalone buildChristian Hesse1-1/+1
2016-03-21vis: also lookup Lua support files relative to the binary locationMarc André Tanner1-2/+1
This simplifies deployment of vis on remote systems without root access. The idea is to extract a statically linked binary together with the lexer syntax files into some directory, adjust $PATH to include it and have everything just work. For now this uses /proc/self/exe and thus only works on Linux based systems.
2016-03-21build: overhaul build system auto detect stuff using a configure scriptMarc André Tanner1-0/+165
The new build instructions are: $ ./configure && make && sudo make install The configure script tries to auto detect support for various libraries and compiler options. These choices can be overwritten by explicitly specifing --{en,dis}able-{lua,selinux,acl}. See ./configure --help for all supported options. The configure script generates config.mk which should allow portable (among GNU and BSD make) Makefiles. Manually editing config.mk is still supported.