5
5
export TOPDIR = $(shell pwd)
6
6
7
7
REC_TARGETS =build domserver install-domserver judgehost install-judgehost \
8
- docs install-docs inplace-install inplace-uninstall
8
+ docs install-docs inplace-install inplace-uninstall maintainer-conf
9
9
10
10
# Global Makefile definitions
11
11
include $(TOPDIR ) /Makefile.global
@@ -107,6 +107,7 @@ judgehost: SUBDIRS=etc judge misc-tools
107
107
install-judgehost : SUBDIRS=etc lib judge misc-tools
108
108
docs : SUBDIRS= doc
109
109
install-docs : SUBDIRS= doc
110
+ maintainer-conf : SUBDIRS= webapp
110
111
inplace-install : SUBDIRS= doc misc-tools
111
112
inplace-uninstall : SUBDIRS= doc misc-tools
112
113
dist : SUBDIRS= lib sql misc-tools
@@ -193,7 +194,7 @@ paths.mk:
193
194
@exit 1
194
195
195
196
# Configure for running in source tree, not meant for normal use:
196
- maintainer-conf : inplace-conf-common composer-dependencies-dev webapp/.env.local
197
+ maintainer-conf : inplace-conf-common composer-dependencies-dev
197
198
inplace-conf : inplace-conf-common composer-dependencies
198
199
inplace-conf-common : dist
199
200
./configure $(subst 1,-q,$(QUIET ) ) --prefix=$(CURDIR ) \
@@ -211,13 +212,6 @@ inplace-conf-common: dist
211
212
--with-baseurl=' http://localhost/domjudge/' \
212
213
$(CONFIGURE_FLAGS )
213
214
214
- # Run Symfony in dev mode (for maintainer-mode):
215
- webapp/.env.local :
216
- @echo " Creating file '$@ '..."
217
- @echo " # This file was automatically created by 'make maintainer-conf' to run" > $@
218
- @echo " # the DOMjudge Symfony application in developer mode. Adjust as needed." >> $@
219
- @echo " APP_ENV=dev" >> $@
220
-
221
215
# Install the system in place: don't really copy stuff, but create
222
216
# symlinks where necessary to let it work from the source tree.
223
217
# This stuff is a hack!
0 commit comments