X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=Makefile;h=16fd75ad89c4fef43a642432d1232942c8aa7b20;hb=refs%2Ftags%2F0.9.0;hp=41c3cee6513d2d73ea8d3b3f071b40f7a0fa6add;hpb=d636bf12b0e8a8d6c7f9ad96d24984c24a145930;p=ocaml-ancient.git diff --git a/Makefile b/Makefile index 41c3cee..16fd75a 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,12 @@ # Mark objects as 'ancient' so they are taken out of the OCaml heap. -# $Id: Makefile,v 1.9 2006-10-31 14:39:50 rich Exp $ include Makefile.config CC := gcc CFLAGS := -g -fPIC -Wall -Werror \ -DOCAML_VERSION_MAJOR=$(OCAML_VERSION_MAJOR) \ - -DOCAML_VERSION_MINOR=$(OCAML_VERSION_MINOR) + -DOCAML_VERSION_MINOR=$(OCAML_VERSION_MINOR) \ + -I$(shell ocamlc -where) OCAMLCFLAGS := -g OCAMLCPACKAGES := -package unix @@ -102,12 +102,7 @@ dist: ls -l $(PACKAGE)-$(VERSION).tar.gz check-manifest: - @for d in `find -type d -name CVS | grep -v '^\./debian/'`; \ - do \ - b=`dirname $$d`/; \ - awk -F/ '$$1 != "D" {print $$2}' $$d/Entries | \ - sed -e "s|^|$$b|" -e "s|^\./||"; \ - done | sort > .check-manifest; \ + git ls-files | sort > .check-manifest; \ sort MANIFEST > .orig-manifest; \ diff -u .orig-manifest .check-manifest; rv=$$?; \ rm -f .orig-manifest .check-manifest; \