diff --git a/webapp/Makefile b/webapp/Makefile index 4d2cec1c8e..621c63f241 100644 --- a/webapp/Makefile +++ b/webapp/Makefile @@ -9,19 +9,16 @@ include $(TOPDIR)/Makefile.global # Subdirectories to recurse into for REC_TARGETS SUBDIRS = config -copy-bundle-assets: +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 public/bundles/nelmioapidoc - mkdir -p public/bundles/nelmioapidoc - cp -a ../lib/vendor/nelmio/api-doc-bundle/Resources/public/* public/bundles/nelmioapidoc/ + mkdir -p $@ + cp -a ../lib/vendor/nelmio/api-doc-bundle/Resources/public/* $@ clean-l: -rm -rf public/bundles/nelmioapidoc -domserver-l: -# This must be done first to install with the rest. - $(MAKE) copy-bundle-assets +domserver-l: public/bundles/nelmioapidoc install-domserver: $(INSTALL_DIR) $(DESTDIR)$(domserver_webappdir); @@ -48,5 +45,3 @@ maintainer-clean-l: rm -rf var/$$d/$$t ; \ done ; \ done - -.PHONY: copy-bundle-assets