c3fa3407ccc172ced3bf6e36c5ffb5e1ba089f65 — William Casarin 1 year, 8 days ago dcf6a5e
install readme
2 files changed, 15 insertions(+), 1 deletions(-)

M Makefile
M README.md
M Makefile => Makefile +5 -0
@@ 1,6 1,7 @@   CFLAGS=-O2 -g -lX11 -Wall -Werror -I. -Wno-unused-function
  LDFLAGS=-lXft -lfontconfig
+ PREFIX ?= /usr/local
  
  BIN=cmdtree
  


@@ 33,6 34,10 @@ clean: fake
  	rm -f $(OBJS) $(BIN) *.d
  
+ install: $(BIN)
+ 	mkdir -p $(PREFIX)/bin
+ 	cp $(BIN) $(PREFIX)/bin
+ 
  TAGS: fake
  	etags *.c
  

M README.md => README.md +10 -1
@@ 25,8 25,17 @@ building. This is temporary until the configuration file format is complete, but
  it has the benefit of being quite fast to launch!
  
+ Installing
+ ----------
  
- key bindings
+ First customize [cfg.def.h](cfg.def.h) to include your menu items.
+ 
+ libX11 and libXft are required. Once you have those installed, simply type:
+ 
+     make && make install || sudo make install
+ 
+ 
+ Key Bindings
  ------------
  
  ```