From c11b96a1e248665beb9f969d38daa9487955f7f5 Mon Sep 17 00:00:00 2001 From: rich Date: Wed, 27 Sep 2006 12:10:18 +0000 Subject: [PATCH] META file. --- .cvsignore | 1 + MANIFEST | 1 + META.in | 6 ++++++ Makefile | 8 ++++---- 4 files changed, 12 insertions(+), 4 deletions(-) create mode 100644 META.in diff --git a/.cvsignore b/.cvsignore index aaded14..f4687eb 100644 --- a/.cvsignore +++ b/.cvsignore @@ -6,3 +6,4 @@ *.opt test_ancient.out1 test_ancient.out2 +META \ No newline at end of file diff --git a/MANIFEST b/MANIFEST index 173daa4..64736e0 100644 --- a/MANIFEST +++ b/MANIFEST @@ -6,4 +6,5 @@ ancient.mli Makefile Makefile.config MANIFEST +META.in test_ancient.ml diff --git a/META.in b/META.in new file mode 100644 index 0000000..7a1b5be --- /dev/null +++ b/META.in @@ -0,0 +1,6 @@ +name="@PACKAGE@" +version="@VERSION@" +description="Mark objects as 'ancient' so they are taken out of the OCaml heap." +requires="" +archive(byte)="ancient.cma" +archive(native)="ancient.cmxa" diff --git a/Makefile b/Makefile index 24a0ce9..491bb0e 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ # Mark objects as 'ancient' so they are taken out of the OCaml heap. -# $Id: Makefile,v 1.2 2006-09-27 12:09:02 rich Exp $ +# $Id: Makefile,v 1.3 2006-09-27 12:10:18 rich Exp $ include Makefile.config @@ -40,9 +40,9 @@ test_ancient.opt: ancient.cmxa test_ancient.cmx # Findlib META file. META: META.in Makefile.config - $(SED) -e 's/@PACKAGE@/$(PACKAGE)/' \ - -e 's/@VERSION@/$(VERSION)/' \ - < $< > $@ + sed -e 's/@PACKAGE@/$(PACKAGE)/' \ + -e 's/@VERSION@/$(VERSION)/' \ + < $< > $@ # Clean. -- 1.8.3.1