Permalink
Browse files

updating install target

  • Loading branch information...
1 parent baed3c4 commit 5743fcdbb1de2b1ee4b2e3a61b220e1f44bd10ca Jacob Vorreuter committed Sep 21, 2009
Showing with 3 additions and 3 deletions.
  1. +3 −3 Makefile
View
@@ -12,16 +12,16 @@ app:
clean:
(cd src;$(MAKE) clean)
(cd t;$(MAKE) clean)
- rm -rf ebin/*.app cover
+ rm -rf ebin/*.app cover erl_crash.dump
package: clean
- @mkdir emysql-$(VERSION)/ && cp -rf ebin include Makefile priv README src support t $(PKGNAME)-$(VERSION)
+ @mkdir emysql-$(VERSION)/ && cp -rf ebin include Makefile README src support t $(PKGNAME)-$(VERSION)
@COPYFILE_DISABLE=true tar zcf $(PKGNAME)-$(VERSION).tgz $(PKGNAME)-$(VERSION)
@rm -rf $(PKGNAME)-$(VERSION)/
install:
mkdir -p $(prefix)/$(LIBDIR)/$(PKGNAME)-$(VERSION)/{ebin,include}
- for i in ebin/*.beam ebin/*.app include/*.hrl priv/*.config; do install $$i $(prefix)/$(LIBDIR)/$(PKGNAME)-$(VERSION)/$$i ; done
+ for i in ebin/*.beam ebin/*.app include/*.hrl; do install $$i $(prefix)/$(LIBDIR)/$(PKGNAME)-$(VERSION)/$$i ; done
test: all
(cd t;$(MAKE))

0 comments on commit 5743fcd

Please sign in to comment.