Skip to content

Commit

Permalink
Tabs/spaces makefile issue fixed.
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Gerakines <nick@gerakines.net>
  • Loading branch information
Joshua Miller authored and ngerakines committed May 31, 2009
1 parent 6765c83 commit 4ed6211
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions Makefile
Expand Up @@ -2,21 +2,21 @@ LIBDIR=`erl -eval 'io:format("~s~n", [code:lib_dir()])' -s init stop -noshell`
VERSION=0.4.2

all:
mkdir -p ebin/
(cd src;$(MAKE))
mkdir -p ebin/
(cd src;$(MAKE))

test: all
prove -v t/*.t
prove -v t/*.t

clean:
(cd src;$(MAKE) clean)
rm -rf erl_crash.dump *.beam *.hrl erlang_twitter-$(VERSION).tgz
(cd src;$(MAKE) clean)
rm -rf erl_crash.dump *.beam *.hrl erlang_twitter-$(VERSION).tgz

package: clean
@mkdir erlang_twitter-$(VERSION)/ && cp -rf include src support t Makefile README.markdown erlang_twitter-$(VERSION)
@COPYFILE_DISABLE=true tar zcf erlang_twitter-$(VERSION).tgz erlang_twitter-$(VERSION)
@rm -rf erlang_twitter-$(VERSION)/
@mkdir erlang_twitter-$(VERSION)/ && cp -rf include src support t Makefile README.markdown erlang_twitter-$(VERSION)
@COPYFILE_DISABLE=true tar zcf erlang_twitter-$(VERSION).tgz erlang_twitter-$(VERSION)
@rm -rf erlang_twitter-$(VERSION)/

install:
for d in ebin include; do mkdir -p $(prefix)/$(LIBDIR)/erlang_twitter-$(VERSION)/$$d ; done
for i in include/*.hrl ebin/*.beam; do install $$i $(prefix)/$(LIBDIR)/erlang_twitter-$(VERSION)/$$i ; done
for d in ebin include; do mkdir -p $(prefix)/$(LIBDIR)/erlang_twitter-$(VERSION)/$$d ; done
for i in include/*.hrl ebin/*.beam; do install $$i $(prefix)/$(LIBDIR)/erlang_twitter-$(VERSION)/$$i ; done

0 comments on commit 4ed6211

Please sign in to comment.