Skip to content
Permalink
Browse files

Makefile: fixed install/uninstall rules

  • Loading branch information
sagotch committed Nov 27, 2019
1 parent dfd54d1 commit 4b675e8b0a6455429b33ee6686fbe615f8723932
Showing with 7 additions and 9 deletions.
  1. +7 −9 Makefile
@@ -113,25 +113,23 @@ piqi:
endif
.PHONY: piqi

geneweb.install:
dune build @install
.PHONY: geneweb.install

%.exe: | piqi $(GENERATED_FILES_DEP)
dune build $@
exe:
dune build $(ALL_EXE:=.exe)
.DEFAULT_GOAL = exe

geneweb.install exe: $(GENERATED_FILES_DEP) piqi
install uninstall exe: $(GENERATED_FILES_DEP) piqi

###### [BEGIN] Installation / Distribution section

install: geneweb.install
dune install geneweb
install:
dune build @install
dune install

uninstall: geneweb.install
dune uninstall geneweb
uninstall:
dune build @install
dune uninstall

BUILD_DISTRIB_DIR=$(BUILD_DIR)/bin/

0 comments on commit 4b675e8

Please sign in to comment.
You can’t perform that action at this time.