Commits

camlspotter  committed 81e5b44

cleanup of setup.data

  • Participants
  • Parent commits 1ab7eed

Comments (0)

Files changed (1)

 OMyOasis(PACK, REQUIRED) =
     $(Installed $(PACK)): $(REQUIRED) $(Installed findlib)
         ocamlfind remove $(PACK)
+        rm setup.data
         ocaml setup.ml -configure
         ocaml setup.ml -build
         ocaml setup.ml -reinstall
         # Never trust setup.ml. It does NOT clean things correctly sometimes!
         /bin/rm -rf _build
         /bin/cp -a $(DIR) _build
+        rm -f _build/setup.data
         cd _build; ocaml setup.ml -configure --prefix $(PREFIX)
         cd _build; ocaml setup.ml -build
         cd _build; ocaml setup.ml -uninstall
         # Never trust setup.ml. It does NOT clean things correctly sometimes!
         /bin/rm -rf _build
         /bin/cp -a $(DIR) _build
+        rm -f _build/setup.data
         cd _build; ocaml setup.ml -configure --prefix $(PREFIX)
         cd _build; ocaml setup.ml -build
         cd _build; ocaml setup.ml -uninstall
         section:
             dir=$(TarAutoExtract $(file), $(dirname $(file)))
             println(DIR $(dir)) 
+            rm -f $(dir)/setup.data
             cd $(dir); ocaml setup.ml -configure
             cd $(dir); ocaml setup.ml -build
             cd $(dir); ocaml setup.ml -uninstall
         ocamlfind remove $(PACK)
         /bin/rm -rf _build
         /bin/cp -a $(DIR) _build
+        rm -f $(dir)/setup.data
         cd _build; make clean
         cd _build; make
         cd _build; make install