Skip to content

Commit

Permalink
chore(Makefile): split install tasks and remove extra char
Browse files Browse the repository at this point in the history
  • Loading branch information
bungle committed Aug 8, 2024
1 parent 13b361d commit f0011ff
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: build copy-library luarocks-install lint unit coverage test docs clean install
.PHONY: build copy-library luarocks-install lint unit coverage test docs clean install-rock install-lib install

LIBRARY := libada.so
ifeq ($(shell uname), Darwin)
Expand All @@ -10,7 +10,7 @@ build:
@cmake --build build

copy-library: build
@cp $ build/$(LIBRARY) .
@cp build/$(LIBRARY) .

luarocks-install:
@luarocks make
Expand All @@ -32,9 +32,13 @@ test: copy-library luarocks-install coverage lint
docs:
@ldoc .

clean:
@rm -Rf build luacov.stats.out luacov.report.out $(LIBRARY)

install: deps
install-rock:
@luarocks make

install-lib: build
@cmake --install build

install: install-rock install-lib

clean:
@rm -Rf build luacov.stats.out luacov.report.out $(LIBRARY)

0 comments on commit f0011ff

Please sign in to comment.