aboutsummaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2016-05-11build: install support files only when neededMarc André Tanner1-3/+5
2016-04-29vis: move non-configuration sections out of visrc.lua into vis.luaMarc André Tanner1-1/+1
The intention is that vis.lua will provide parts of the Lua API not implemented in the C core. Please update your existing visrc.lua configuration file accordingly.
2016-04-20vis-lua: load files from directory specified with ./configure --sharedir=DIRMarc André Tanner1-2/+3
Close #231
2016-04-19Fix vis-test git submodule integrationMarc André Tanner1-1/+1
2016-04-19Integrate vis-test git submoduleMarc André Tanner1-1/+9
2016-04-03sam: unify vi(m) and sam command lineMarc André Tanner1-1/+1
The following vi commands have been dropped: - saveas - xit - ! The following commands are only recognized in their short form: - e (edit) - q (quit) - s (substitute) - w (write) - r (read)
2016-04-03build: explicitly list sources filesMarc André Tanner1-1/+6
2016-03-25Set version to 0.2Marc André Tanner1-1/+1
2016-03-23fix install prefix for standalone buildChristian Hesse1-0/+6
2016-03-23vis: use vis-clipboard instead of vis-{copy,paste} scriptsMarc André Tanner1-6/+3
2016-03-21build: reorder some variablesMarc André Tanner1-1/+1
2016-03-21build: create empty config.mk if it does not existMarc André Tanner1-0/+3
This should fix `make local` (as used on travis-ci) and `make standalone` in cases where `configure` was not run successfully due to missing dependencies.
2016-03-21configure: make vis depend on config.mkChristian Hesse1-1/+1
We want vis to be rebuilt when configuration changes, so make vis depend on config.mk.
2016-03-21build: add vis subdirectory to $SHAREPREFIXMarc André Tanner1-5/+5
2016-03-21build: overhaul build system auto detect stuff using a configure scriptMarc André Tanner1-170/+30
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.
2016-02-28build: update make standalone to use musl-1.1.14Marc André Tanner1-2/+2
2016-02-16Update make standalone to use musl-1.1.13Marc André Tanner1-2/+2
2016-01-30Implement system clipboard registers "* and "+Marc André Tanner1-0/+6
Both registers are currently treated identically. The actual system integration is performed by two shell scripts vis-copy and vis-paste.
2016-01-14build: cleanup $LIBS variableMarc André Tanner1-1/+1
2016-01-09Makefile: Use $(MAKE) instead of directly calling `make`Michael Reed1-11/+11
This is basically the same as b18acc1.
2015-12-31Also remove vis-open when uninstallingMarc André Tanner1-0/+1
2015-12-29Clean up build systemMarc André Tanner1-9/+16
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