Skip to content

Commit

Permalink
make use of DESTDIR
Browse files Browse the repository at this point in the history
  • Loading branch information
master committed Aug 6, 2011
1 parent f1c40fc commit e134c95
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Expand Up @@ -22,9 +22,9 @@ package: clean
@rm -rf $(PKGNAME)-$(VERSION)/

install: src
@mkdir -p $(LIBDIR)/$(PKGNAME)-$(VERSION)/ebin
@mkdir -p $(LIBDIR)/$(PKGNAME)-$(VERSION)/include
for i in ebin/*.beam include/*.hrl ebin/*.app; do install $$i $(LIBDIR)/$(PKGNAME)-$(VERSION)/$$i ; done
@mkdir -p $(DESTDIR)/$(LIBDIR)/$(PKGNAME)-$(VERSION)/ebin
@mkdir -p $(DESTDIR)/$(LIBDIR)/$(PKGNAME)-$(VERSION)/include
for i in ebin/*.beam include/*.hrl ebin/*.app; do install $$i $(DESTDIR)/$(LIBDIR)/$(PKGNAME)-$(VERSION)/$$i ; done


plt: src
Expand Down

0 comments on commit e134c95

Please sign in to comment.