Skip to content
Snippets Groups Projects
Commit 4fe9a90a authored by Konstantin Pavlov's avatar Konstantin Pavlov
Browse files

Fixed nightlies index.html build.

parent 2bca8594
No related branches found
No related tags found
No related merge requests found
......@@ -41,11 +41,11 @@ clean: clean-recursive
HERE=$(HERE)$$d/ || exit $$? ; \
done
%.html: %.php $(ROOT)Makefile $(ROOT)/include/*.php
%.html: %.php $(ROOT)Makefile
@echo "Preprocessing $@ ..."
@rm -f $@.tmp
@cd $(ROOT) || exit 1 ; \
if ! DOCUMENT_ROOT=$(ROOT) $(HERE)$(PHPCGI) $(HERE)$< > $(HERE)$@.tmp; then \
if ! DOCUMENT_ROOT=$(DOCUMENT_ROOT) $(HERE)$(PHPCGI) $(HERE)$< > $(HERE)$@.tmp; then \
cat $(HERE)$@.tmp | tail -1 ; \
rm -f $(HERE)$@.tmp ; \
exit 1 ; \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment