Skip to content

Commit

Permalink
opam/Makefile: remove uninstall target
Browse files Browse the repository at this point in the history
It has become obsolote with opam version 2.
  • Loading branch information
Jan Rochel committed Apr 1, 2019
1 parent 70660ba commit debf1e9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
10 changes: 0 additions & 10 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -171,16 +171,6 @@ install: all META
cp $(LIBDIR)/$(PKG_NAME).server.cm* $(OCAMLFIND_DESTDIR)/$(PKG_NAME)/server
scripts/install.sh $(TEMPLATE_DIR) $(TEMPLATE_NAME)

uninstall:
rm -rf $(OCAMLFIND_DESTDIR)/$(PKG_NAME)/client
rm -rf $(OCAMLFIND_DESTDIR)/$(PKG_NAME)/server
scripts/uninstall.sh $(TEMPLATE_NAME)
$(OCAMLFIND) remove $(PKG_NAME)

reinstall:
$(MAKE) uninstall
$(MAKE) install

##----------------------------------------------------------------------
## Dependencies

Expand Down
1 change: 0 additions & 1 deletion opam
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ dev-repo: "git+https://github.com/ocsigen/ocsigen-start.git"
license: "LGPL-2.1 with OCaml linking exception"
build: [ make "-j%{jobs}%" ]
install: [ make "install" ]
remove: [ make "uninstall" ]
depends: [
"ocaml" {>= "4.06.1"}
"pgocaml" {>= "3.1"}
Expand Down

0 comments on commit debf1e9

Please sign in to comment.