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
@@ -101,6 +101,7 @@ judgehost: SUBDIRS=etc judge misc-tools
101
101
install-judgehost : SUBDIRS=etc lib judge misc-tools
102
102
docs : SUBDIRS= doc
103
103
install-docs : SUBDIRS= doc
104
+ maintainer-conf : SUBDIRS= webapp
104
105
inplace-install : SUBDIRS= doc misc-tools
105
106
inplace-uninstall : SUBDIRS= doc misc-tools
106
107
dist : SUBDIRS= lib sql misc-tools
@@ -187,7 +188,7 @@ paths.mk:
187
188
@exit 1
188
189
189
190
# Configure for running in source tree, not meant for normal use:
190
- maintainer-conf : inplace-conf-common composer-dependencies-dev webapp/.env.local
191
+ maintainer-conf : inplace-conf-common composer-dependencies-dev
191
192
inplace-conf : inplace-conf-common composer-dependencies
192
193
inplace-conf-common : dist
193
194
./configure $(subst 1,-q,$(QUIET ) ) --prefix=$(CURDIR ) \
@@ -205,13 +206,6 @@ inplace-conf-common: dist
205
206
--with-baseurl=' http://localhost/domjudge/' \
206
207
$(CONFIGURE_FLAGS )
207
208
208
- # Run Symfony in dev mode (for maintainer-mode):
209
- webapp/.env.local :
210
- @echo " Creating file '$@ '..."
211
- @echo " # This file was automatically created by 'make maintainer-conf' to run" > $@
212
- @echo " # the DOMjudge Symfony application in developer mode. Adjust as needed." >> $@
213
- @echo " APP_ENV=dev" >> $@
214
-
215
209
# Install the system in place: don't really copy stuff, but create
216
210
# symlinks where necessary to let it work from the source tree.
217
211
# This stuff is a hack!
0 commit comments