Commits

Anonymous committed 9e18a01 Merge

merge

  • Participants
  • Parent commits bf6a14f, 5942a6c

Comments (0)

Files changed (2)

priv/skel/Makefile

 	@echo "removing:"
 	@rm -fv ebin/*.beam ebin/*.app
 
-ebin/$(APP).app:
+ebin/$(APP).app: src/$(APP).app
 	@cp -v src/$(APP).app $@

scripts/new_webmachine.erl

 %% External API
 
 main([Name]) ->
-    main([Name, "."]);
+    case Name of
+        "." ++ _Rest -> usage();
+        "~" ++ _Rest -> usage();
+        "/" ++ _Rest -> usage();
+        _Any         -> main([Name, "."])
+    end;
 main([Name, Dest]) ->
     ensure(),
     DestDir = filename:absname(Dest),