aboutsummaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2015-12-26vis: move file type detection to visrc.luaMarc André Tanner1-1/+1
2015-12-26vis: refactor Lua integrationMarc André Tanner1-4/+4
Lua support can now be disabled at compile time using: $ make CONFIG_LUA=0 This commit also adds an initial Lua API and provides a few default hooks. We now also require Lua >= 5.2 due to the uservalue constructs. In principle the same functionality could be implemented using function environments from Lua 5.1.
2015-11-17ui: improve fallback code in case of unknown termMarc André Tanner1-1/+1
If the current $TERM value indicates 256 color support fall back to xterm-256color otherwise try xterm. Improves upon 43605fded457cec954600b688d54242341eedc7c Closes #105
2015-11-10build: do not clutter dependency/install with manual pagesMarc André Tanner1-1/+1
2015-11-10build: try to fix make standalone for multiarch systemsMarc André Tanner1-1/+1
Force ncurses libdir to be /usr/lib not /usr/lib64.
2015-11-08Mention make local in READMEMarc André Tanner1-1/+2
2015-11-08build: add VIS_PATH=. to suggested execution after make localMarc André Tanner1-1/+1
2015-11-08vis: try to support all lua versions >= 5.1Marc André Tanner1-4/+4
Make lpeg module table explicitly global, which should work with the different module loading semantics.
2015-11-08travis: try to fix build by using local built dependenciesMarc André Tanner1-2/+2
2015-11-08Overhaul build systemMarc André Tanner1-3/+116
Add separate per library {C,LD}FLAGS and use default values from pkg-config to allow for finer control. Disable pkg-config by setting PKG_CONFIG_PATH= PKG_CONFIG_LIBDIR= Override flags completely by specifying them as arguments to make: $ make CFLAGS_CURSES="your custom flags for curses" Also introduce a new, experimental Makefile target standalone. It tries to build a self contained statically linked vis binary. All dependencies (musl, ncurses, termkey, lua, lpeg) are build from source. Lua is patched to include lpeg as a statically built module.
2015-10-29build: introduce make local Makefile targetMarc André Tanner1-2/+41
This merges parts of the build system overhaul found in the lua branch.
2015-10-27build: merge parts of the build system changes from lua branchMarc André Tanner1-4/+4
Should hopefully fix build on Mac OS X.
2015-10-06Change release tarball compression to gzipMarc André Tanner1-1/+1
2015-10-06add a new Makefile target 'release' to build release tarballChristian Hesse1-0/+3
2015-10-05Add a profile Makefile targetMarc André Tanner1-0/+3
2015-07-10vis: add a file open dialogMarc André Tanner1-0/+2
For this to work make sure you have vis-open and slmenu or dmenu somewhere in $PATH. For now the file dialog is shown for :open, :split and :vsplit when the argument is either . (a dot) or looks like a file pattern. For example :open *.[ch] will show a listing of all C source and header files in the current directory. Use a fuzzy search to make your choice.
2015-06-04Use $(MAKE) instead of directly calling `make`Michael Reed1-1/+1
This fixes `make debug` on OpenBSD (and possibly other systems) where /usr/bin/make isn't GNU make.
2015-01-15add C source and header file to dependsChristian Hesse1-1/+1
This fixes make to rebuild when files change. Signed-off-by: Christian Hesse <mail@eworm.de>
2015-01-15remove vis from .PHONYChristian Hesse1-1/+1
vis is a real file, so remove it from .PHONY in Makefile. This fixes make to not rebuild on every invocation. Signed-off-by: Christian Hesse <mail@eworm.de>
2015-01-15Pass $LDFLAGS after source filesMarc André Tanner1-2/+2
This should fix compilation with: LDFLAGS=-Wl,--as-needed make
2015-01-14Remove nano like frontend for nowMarc André Tanner1-2/+1
If time permits I still want to experiment with different editing paradigms and write a proper nano/sandy/sam frontend but at the moment it is just bitrotting and not very useful.
2015-01-14Simplify MakefileMarc André Tanner1-25/+9
Use $CC *.c -o vis to enable global link time optimization. This also fixes issues with parallel builds. config.h is no longer symlinked to config.def.h which allows local modifications.
2015-01-03Fix compilation on various *nix systemsMarc André Tanner1-1/+1
Unfortunately this breaks support for BSD make.
2015-01-01Add rudimentary support for jump list (CTRL+{O,I})Marc André Tanner1-1/+1
2014-12-18Macro supportMarc André Tanner1-2/+2
At some point this should be optimized further at the moment there is some 20 byte overhead for each entered key.
2014-09-10Simplify cursor color managementMarc André Tanner1-1/+1
2014-09-09Cleanup header filesMarc André Tanner1-1/+1
2014-09-09Rename vis.[ch] to editor.[ch] and main.c to vis.cMarc André Tanner1-2/+2
2014-09-02Fix MakefileMarc André Tanner1-3/+3
2014-09-01Refactor frontend codeMarc André Tanner1-3/+4
window.[ch] now contains a somewhat generic editor window which is then enhanced in vis.[ch] with a statusbar.
2014-08-31First part of a vi like frontendMarc André Tanner1-2/+2
Still very incomplete
2014-08-25Move motion related stuff into own fileMarc André Tanner1-3/+4
2014-08-24Add work in progress editor frontendMarc André Tanner1-0/+63