Skip to content

Commit

Permalink
Fix spaces in folder names breaking autorevision during build
Browse files Browse the repository at this point in the history
Fixes:4348
  • Loading branch information
Asraelite committed Jun 27, 2017
1 parent 6ed849c commit 178dd3f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Makefile.am
Expand Up @@ -21,7 +21,7 @@ MOCEDFILES = $(MOCHEADER:%.h=%_moc.cpp)
.PHONY: autorevision.h

autorevision.h autorevision.cache:
cd $(top_srcdir) && ./build_tools/autorevision -t h -o $(abs_builddir)/autorevision.cache > $(abs_builddir)/autorevision.h.new
cd $(top_srcdir) && ./build_tools/autorevision -t h -o "$(abs_builddir)/autorevision.cache" > "$(abs_builddir)/autorevision.h.new"
cmp -s autorevision.h.new autorevision.h && rm autorevision.h.new || mv -f autorevision.h.new autorevision.h

CLEANFILES = \
Expand Down Expand Up @@ -347,4 +347,3 @@ else
warzone2100_LDADD += $(top_builddir)/win32/warzone2100.o $(WIN32_LIBS)
endif
endif

0 comments on commit 178dd3f

Please sign in to comment.