diff --git a/Makefile b/Makefile index e285e57559..e71563d4fe 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,8 @@ export TOPDIR = $(shell pwd) REC_TARGETS=build domserver install-domserver judgehost install-judgehost \ docs install-docs inplace-install inplace-uninstall maintainer-conf \ - composer-dependencies composer-dependencies-dev + composer-dependencies composer-dependencies-dev \ + composer-dump-autoload composer-dump-autoload-dev # Global Makefile definitions include $(TOPDIR)/Makefile.global @@ -65,15 +66,6 @@ ifneq "$(JUDGEHOST_BUILD_ENABLED)" "yes" @exit 1 endif -# Dump autoload dependencies (including plugins) -# This is needed since symfony/runtime is a Composer plugin that runs while dumping -# the autoload file -composer-dump-autoload: - composer $(subst 1,-q,$(QUIET)) dump-autoload -o -a - -composer-dump-autoload-dev: - composer $(subst 1,-q,$(QUIET)) dump-autoload - # Generate documentation for distribution. Remove this dependency from # dist above for quicker building from git sources. distdocs: diff --git a/webapp/Makefile b/webapp/Makefile index f7ccb25c0f..40f17f5676 100644 --- a/webapp/Makefile +++ b/webapp/Makefile @@ -18,6 +18,15 @@ maintainer-conf: .env.local @echo "# the DOMjudge Symfony application in developer mode. Adjust as needed." >> $@ @echo "APP_ENV=dev" >> $@ +# Dump autoload dependencies (including plugins) +# This is needed since symfony/runtime is a Composer plugin that runs while dumping +# the autoload file +composer-dump-autoload: + composer $(subst 1,-q,$(QUIET)) dump-autoload -o -a + +composer-dump-autoload-dev: + composer $(subst 1,-q,$(QUIET)) dump-autoload + copy-bundle-assets: # 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