Skip to content

Commit

Permalink
fix camlp5 uninstall (ocaml#11443)
Browse files Browse the repository at this point in the history
  • Loading branch information
fdopen authored and mseri committed Feb 18, 2018
1 parent cd99f3f commit f939384
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions packages/camlp5/camlp5.7.03/opam
Expand Up @@ -7,9 +7,13 @@ build: [
["./configure" "--prefix" prefix "-libdir" lib "-mandir" man]
[make "world.opt"]
]
available: [ocaml-version >= "4.02" & ocaml-version < "4.07"]
available: [ocaml-version >= "4.02" & ocaml-version < "4.06.1"]
bug-reports: "https://github.com/camlp5/camlp5/issues"
dev-repo: "https://github.com/camlp5/camlp5.git"
doc: "https://camlp5.github.io/doc/html"
install: [make "install"]
remove: [make "uninstall"]
remove: [
["sh" "-ecx" "./configure --prefix '%{prefix}%' -libdir '%{lib}%' -mandir '%{man}%' && %{make}% uninstall"]
[ "rm" "-rf" "%{lib}%/camlp5" ]
[ "rm" "-f" "%{man}%/man1/camlp5.1" "%{man}%/man1/camlp5o.1" "%{man}%/man1/camlp5o.opt.1" "%{man}%/man1/camlp5r.1" "%{man}%/man1/camlp5r.opt.1" "%{man}%/man1/camlp5sch.1" "%{man}%/man1/mkcamlp5.1" "%{man}%/man1/mkcamlp5.opt.1" "%{man}%/man1/ocpp5.1" ]
]

0 comments on commit f939384

Please sign in to comment.