Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

45 lines (27 sloc) 0.774 kb
#include conf/include.mk
SHELL = /bin/sh
#tags command and options
TAG_CMD = etags
TAG_FLAGS =
LIB_FILES = /usr/local/lib/erlang/lib/sg*/*.erl /usr/local/lib/erlang/lib/sg*/src/*.erl
SRC_FILES = src/sgte.erl src/sgte_render.erl src/sgte_parse.erl
TAG_FILES = $(LIB_FILES) $(SRC_FILES)
#Edoc variables
DOCDIR = doc
.PHONY: all conf conf_clean test docs unittest
all: conf compile
compile:
cd src&& $(MAKE)
conf:
cd conf&& $(MAKE)
conf_clean:
cd conf&& $(MAKE) clean
test: conf compile
cd test/src&& $(MAKE)
docs: $(SRC_FILES)
erl -noshell -run edoc_run files ["'$<'"] \
'[{dir,"$(DOCDIR)"}]' -s init stop
tags: src/*.erl
cd src/ && $(TAG_CMD) $(TAG_FLAGS) $(TAG_FILES)
clean:
rm src/*.beam; rm ebin/*.beam; rm test/src/*.beam; rm test/ebin/*.beam
Jump to Line
Something went wrong with that request. Please try again.