aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortenox <as@tenoware.com>2017-01-24 02:32:42 -0800
committertenox <as@tenoware.com>2017-01-24 02:32:42 -0800
commit01c6be03d527fcd5c26aa13bb472a1426db78f7b (patch)
tree2c831e6bf091c679d2130b4e0bf95603aa207ecf
parent191277829241a7b800debae6a6d45a4397b1fd87 (diff)
downloadwfm-01c6be03d527fcd5c26aa13bb472a1426db78f7b.tar.gz
readme and makefile changes for git integration
-rw-r--r--Makefile8
-rw-r--r--README.md4
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