Skip to content

Commit

Permalink
No longer check in generated documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyg committed Jul 16, 2010
1 parent 90e27c6 commit f9e1602
Show file tree
Hide file tree
Showing 16 changed files with 6 additions and 1,333 deletions.
21 changes: 6 additions & 15 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,6 @@ else
INETS_DEF=-Dnew_inets
endif

ifeq ($(shell uname -s),Darwin)
SED=gnused
else
SED=sed
endif

all: package

$(EBIN_DIR)/%.beam: $(SOURCE_DIR)/%.erl $(INCLUDES)
Expand All @@ -37,10 +31,7 @@ clean:
rm -f $(TARGETS)
rm -rf $(DIST_DIR)

cleandoc:
rm -f doc/*

dist: $(TARGETS)
dist: $(TARGETS) doc/index.html
mkdir -p $(DIST_DIR)
cp -r doc ebin include src test Makefile $(DIST_DIR)

Expand All @@ -67,14 +58,14 @@ debian-package: clean
cd build; dpkg-buildpackage -rfakeroot -k$(SIGNING_KEY_ID)
rm -rf build debian-package.tar

.PHONY: doc
doc: doc/overview.edoc
$(DOC_DIR)/index.html: $(DOC_DIR)/overview.edoc
erl -noshell \
-eval 'edoc:application(rfc4627, ".", [])' \
-eval 'edoc:application(rfc4627, ".", [{overview, "$(DOC_DIR)/overview.edoc"}, {dir, "$(DOC_DIR)"}])' \
-run init stop
$(SED) -e 's:\(<p><i>Generated by EDoc\), .*\(</i></p>\):\1\2:' -i doc/*.html
cp src/doc/JSON-RPC-1-1-WD-20060807.html $(DOC_DIR)

doc/overview.edoc: src/overview.edoc.in
$(DOC_DIR)/overview.edoc: src/doc/overview.edoc.in
mkdir -p $(DOC_DIR)
sed -e 's:%%VERSION%%:$(VERSION):g' < $< > $@

test-compile:
Expand Down
4 changes: 0 additions & 4 deletions doc/edoc-info

This file was deleted.

Binary file removed doc/erlang.png
Binary file not shown.
17 changes: 0 additions & 17 deletions doc/index.html

This file was deleted.

16 changes: 0 additions & 16 deletions doc/modules-frame.html

This file was deleted.

131 changes: 0 additions & 131 deletions doc/overview-summary.html

This file was deleted.

125 changes: 0 additions & 125 deletions doc/overview.edoc

This file was deleted.

11 changes: 0 additions & 11 deletions doc/packages-frame.html

This file was deleted.

Loading

0 comments on commit f9e1602

Please sign in to comment.