Skip to content
Browse files

Changed make dist

  • Loading branch information...
1 parent 193e80b commit a1c0f292d076af8041281f7cc5188e0c57ebf664 @saleyn saleyn committed May 28, 2010
Showing with 35 additions and 10 deletions.
  1. +18 −1 .gitignore
  2. +6 −3 Makefile.am
  3. +11 −6 README
View
19 .gitignore
@@ -1,3 +1,20 @@
-zmq.tgz
+zmq*.tgz
doc
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
View
9 Makefile.am
@@ -1,6 +1,6 @@
ACLOCAL_AMFLAGS = -I m4
-TARBALL=zmq.tgz
+TARBALL=zmq-@PACKAGE_VERSION@.tgz
TARBALL_EXCLUDE=/tmp/exclude.xxx
SUBDIRS = c_src src
@@ -13,11 +13,14 @@ gitdocs: docs
clean-bootstrap: distclean
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:
@echo Creating $(TARBALL)
@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 \
find $$DIR/$$f -type f -print >> $(TARBALL_EXCLUDE) ; \
done && \
View
17 README
@@ -1,8 +1,17 @@
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
PUB/SUB zmq_pubserver/zmq_subclient
@@ -14,10 +23,6 @@ Examples
You can run a server and any number of clients
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
BSD License

0 comments on commit a1c0f29

Please sign in to comment.
Something went wrong with that request. Please try again.