Skip to content

Commit

Permalink
Make would not run if the directory already exists
Browse files Browse the repository at this point in the history
So we would only get to this step if the directory is not there, so removing it would always be a NO-OP.
  • Loading branch information
Michael Vasseur committed Oct 27, 2024
1 parent 215d4fe commit 2aa9d30
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions webapp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,9 @@ composer-dump-autoload-dev:
public/bundles/nelmioapidoc:
# We can not use bin/console here, as when using a fakeroot,
# the include paths are broken. We just copy in the data we need
-rm -rf $@
mkdir -p $@
cp -a vendor/nelmio/api-doc-bundle/public/* $@

# -rm -rf public/bundles/nelmioapidoc
# mkdir -p public/bundles/nelmioapidoc
# cp -a vendor/nelmio/api-doc-bundle/public/* public/bundles/nelmioapidoc/

clean-l:
-rm -rf public/bundles/nelmioapidoc
-rm -f vendor/autoload_runtime.php
Expand Down

0 comments on commit 2aa9d30

Please sign in to comment.