Browse Source

make clean should remove .applist. fix #23

Maxim Sokhatsky 11 years ago
parent
commit
080c37ff05
1 changed files with 4 additions and 1 deletions
  1. 4 1
      otp.mk

+ 4 - 1
otp.mk

@@ -17,7 +17,10 @@ relx     := "{release,{$(RELEASE),\"$(VER)\"},[$(RELEASE)]}.\\n{include_erts,tru
 
 test: eunit ct
 compile: get-deps static-link
-delete-deps get-deps compile clean update-deps:
+delete-deps get-deps compile update-deps:
+	rebar $@
+clean:
+	rm -f .applist
 	rebar $@
 .applist:
 	$(eval APPS := $(subst deps/,,$(subst apps/,,$(shell find apps deps -maxdepth 1 -mindepth 1 -type d))))