Skip to content

Commit

Permalink
Changed make dist
Browse files Browse the repository at this point in the history
  • Loading branch information
saleyn committed May 28, 2010
1 parent 193e80b commit a1c0f29
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 10 deletions.
19 changes: 18 additions & 1 deletion .gitignore
@@ -1,3 +1,20 @@
zmq.tgz zmq*.tgz
doc doc
priv priv

Makefile
Makefile.in
aclocal.m4
autom4te.cache/
build-aux/
c_src/Makefile
config.h
config.h.in
config.log
config.status
configure
ebin/zmq.app
m4/version
src/Makefile
src/zmq.app
stamp-h1
9 changes: 6 additions & 3 deletions Makefile.am
@@ -1,6 +1,6 @@
ACLOCAL_AMFLAGS = -I m4 ACLOCAL_AMFLAGS = -I m4


TARBALL=zmq.tgz TARBALL=zmq-@PACKAGE_VERSION@.tgz
TARBALL_EXCLUDE=/tmp/exclude.xxx TARBALL_EXCLUDE=/tmp/exclude.xxx


SUBDIRS = c_src src SUBDIRS = c_src src
Expand All @@ -13,11 +13,14 @@ gitdocs: docs


clean-bootstrap: distclean clean-bootstrap: distclean
rm -fr aclocal.m4 autom4te.cache build-aux config.h.in configure \ rm -fr aclocal.m4 autom4te.cache build-aux config.h.in configure \
m4/l* m4/version Makefile.in priv doc zmq.tgz m4/l* m4/version Makefile.in priv doc zmq.tgz stamp-h1
dist: dist:
@echo Creating $(TARBALL) @echo Creating $(TARBALL)
@DIR=$${PWD##*/} && pushd .. > /dev/null && \ @DIR=$${PWD##*/} && pushd .. > /dev/null && \
echo -e "*.o\n*.d\n.git\n*.tgz\n.*.*\n~\n.~*#\ntags\n" > $(TARBALL_EXCLUDE) && \ echo -e "*.o\n*.d\n.git\n*.tgz\n.*.*\n~\n.~*#\ntags\n" \
-e "aclocal.m4\nautom4te.cache\nbuild-aux\n" \
-e "config.*\nconfigure\nebin/*.beam\nm4/l*\nMakefile\n" \
-e "Makefile.in\nm4/version" > $(TARBALL_EXCLUDE) && \
for f in priv; do \ for f in priv; do \
find $$DIR/$$f -type f -print >> $(TARBALL_EXCLUDE) ; \ find $$DIR/$$f -type f -print >> $(TARBALL_EXCLUDE) ; \
done && \ done && \
Expand Down
17 changes: 11 additions & 6 deletions README
@@ -1,8 +1,17 @@
Erlang bindings for ZeroMQ (http://www.zeromq.org). Erlang bindings for ZeroMQ (http://www.zeromq.org).


Generate documentation by running "make docs". Building
$ ./bootstrap
$ ./configure --with-zeromq=/path/to/zeromq
$ make
$ make docs


See doc/index.html for full documentation. Documentation
See doc/index.html for full documentation.

Updating documentatin on GitHub
$ git checkout master # make sure you are on master branch
$ make gitdocs # this will update gh-pages branch and commit changes to origin


Examples Examples
PUB/SUB zmq_pubserver/zmq_subclient PUB/SUB zmq_pubserver/zmq_subclient
Expand All @@ -14,10 +23,6 @@ Examples
You can run a server and any number of clients You can run a server and any number of clients
in the same Erlang shell or on different nodes. in the same Erlang shell or on different nodes.


Updating documentatin on GitHub
$ git checkout master # make sure you are on master branch
$ make gitdocs # this will update gh-pages branch and commit changes to origin

License License
BSD License BSD License


Expand Down

0 comments on commit a1c0f29

Please sign in to comment.