1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2024-12-21 23:33:03 +00:00

Refactor Makefiles

This commit is contained in:
Alexander Neumann 2014-08-06 20:09:41 +02:00
parent 16d7974b3f
commit 017426467b
2 changed files with 7 additions and 10 deletions

View file

@ -2,9 +2,13 @@
test:
go test
$(MAKE) -C cmd/khepri
test/run.sh cmd/khepri/khepri
for dir in cmd/* ; do \
(cd "$$dir"; go build) \
done
test/run.sh cmd/khepri/khepri cmd/dirdiff/dirdiff
clean:
go clean
$(MAKE) -C cmd/khepri test
for dir in cmd/* ; do \
(cd "$$dir"; go clean) \
done

View file

@ -1,7 +0,0 @@
.PHONY: clean all test
test:
go build
clean:
go clean