X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=Makefile;h=16fd75ad89c4fef43a642432d1232942c8aa7b20;hb=72a31f122e523c71e186ee9db189f931d75f3651;hp=e51ff2f79f4287487f805751dcd00d90a371de38;hpb=690b40de4026658d385caf2cdbfa13837a1e679e;p=ocaml-ancient.git diff --git a/Makefile b/Makefile index e51ff2f..16fd75a 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,12 @@ # Mark objects as 'ancient' so they are taken out of the OCaml heap. -# $Id: Makefile,v 1.8 2006-10-06 15:03:47 rich Exp $ include Makefile.config CC := gcc -CFLAGS := -g -fPIC -Wall -Werror +CFLAGS := -g -fPIC -Wall -Werror \ + -DOCAML_VERSION_MAJOR=$(OCAML_VERSION_MAJOR) \ + -DOCAML_VERSION_MINOR=$(OCAML_VERSION_MINOR) \ + -I$(shell ocamlc -where) OCAMLCFLAGS := -g OCAMLCPACKAGES := -package unix @@ -100,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; \