Permalink
Browse files

Fix tarball creation.

  • Loading branch information...
1 parent 55b7156 commit 47431dcfa85efb4e7f93e9bfa62b8eb79ee30079 @Chris00 Chris00 committed Apr 4, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 Makefile
View
@@ -25,7 +25,7 @@ PKGVERSION = $(shell oasis query version)
PKG_TARBALL = $(PKGNAME)-$(PKGVERSION).tar.gz
DISTFILES = README.md _oasis setup.ml _tags \
- Makefile $(wildcard $(addprefix src/, *.ml))
+ Makefile $(wildcard $(addprefix src/, *.ml *.mli))
.PHONY: all byte native configure doc test install uninstall reinstall
@@ -44,7 +44,7 @@ test doc install uninstall reinstall: all
.PHONY: dist tar headache
dist tar: $(DISTFILES)
mkdir $(PKGNAME)-$(PKGVERSION)
- cp -r $(DISTFILES) $(PKGNAME)-$(PKGVERSION)/
+ cp --parents -r $(DISTFILES) $(PKGNAME)-$(PKGVERSION)/
# There is no point in having a setup.ml independent of oasis
# because the program depends on oasis anyway.
tar -zcvf $(PKG_TARBALL) $(PKGNAME)-$(PKGVERSION)

0 comments on commit 47431dc

Please sign in to comment.