]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/Makefile.in
moved discovery of METAS dir to configure.ac: script.sh no longer needed
[helm.git] / helm / ocaml / Makefile.in
index 00b5b0dd2b80d290c3ded9415d113a2ac3dd7334..b6b3bd0d7da7188fbd7f544083fb8d39618dd029 100644 (file)
@@ -21,11 +21,9 @@ MODULES =                    \
        $(NULL)
 
 OCAMLFIND_DEST_DIR = @OCAMLFIND_DEST_DIR@
-OCAMLFIND_META_DIR = @OCAMLFIND_META_DIR@
+OCAMLPATH = @OCAMLFIND_META_DIR@
 
 METAS = $(MODULES:%=METAS/META.helm-%)
-CWD := $(shell pwd)
-OCAMLPATH = $(CWD)/METAS/
 
 all: metas $(MODULES:%=%.all)
 opt: metas $(MODULES:%=%.opt)
@@ -60,7 +58,7 @@ $(MODULES:%=%.uninstall):
        cd $(@:%.uninstall=%) && make uninstall
        rm -f $(OCAMLFIND_META_DIR)/$(@:%.uninstall=META.helm-%)
 METAS/META.helm-%: METAS/meta.helm-%.src
-       cp $< $@ && echo "directory=\"$(CWD)/$*\"" >> $@
+       cp $< $@ && echo "directory=\"$(shell pwd)/$*\"" >> $@
 
 .PHONY: .dep.dot
 .dep.dot: