From 01c6be03d527fcd5c26aa13bb472a1426db78f7b Mon Sep 17 00:00:00 2001 From: tenox Date: Tue, 24 Jan 2017 02:32:42 -0800 Subject: readme and makefile changes for git integration --- Makefile | 8 +++++--- README.md | 4 ++++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 9bbb534..86e769c 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,11 @@ -CC=gcc -O3 -Wall -OB=wfm.o dir.o dialogs.o fileio.o cgic.o md5.o +CC=gcc -Wall -O3 -DWFMGIT +OB=wfm.o dir.o dialogs.o fileio.o cgic.o md5.o urlencode.o git.o +LD=-lgit2 -lpthread all: wfm wfm: ${OB} - ${CC} ${OB} -o wfm + ${CC} ${OB} -o wfm ${LD} @strip wfm @du -h wfm @@ -22,3 +23,4 @@ bin2c: bin2c.c clean: rm -f *.o wfm wfmicon*.h bin2c + diff --git a/README.md b/README.md index 8fc4324..d05595c 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,10 @@ allows editing small text files directly in the browser using textarea. Since WFM lets you edit html and markdown documents over the web, You can think and use WFM as a small Content Management System (CMS). +Since version 1.2 WFM has a built-in file version control system using GIT +via libgit2 library. All file operations from within the application are +automatically commited to a Git repository. + Unlike Dropbox, box.net and others, WFM is compatible with most modern and legacy web browsers dating back to Internet Explorer 1.5, Netscape 1.0 and Mosaic 3.0. It outputs W3C certified HTML 4.01. JavaScript is optional and -- cgit v1.2.3