--- rpl/Makefile.am 2012/06/12 21:20:22 1.51 +++ rpl/Makefile.am 2012/12/13 20:27:07 1.56 @@ -213,6 +213,7 @@ $(top_builddir)/tools/@UNITS@/units$(EXE @UNITS@/Makefile > $$TMP; \ mv -f $$TMP @UNITS@/Makefile; \ fi; \ + cp -f $(srcdir)/tools/@UNITS@/units_cur $(top_builddir)/tools/@UNITS@ $(MAKE) -C $(top_builddir)/tools/@UNITS@ $(AM_MAKEFLAGS) .NOTPARALLEL: $(top_builddir)/tools/@FILE@/src/rplfile$(EXEEXT) \ @@ -263,6 +264,13 @@ all: $(top_builddir)/tools/@NCURSES@/lib $(top_builddir)/tools/@UNITS@/units$(EXEEXT) \ $(top_builddir)/tools/@SIGSEGV@/src/.libs/@LIB_PREFIX@sigsegv.a \ @LIBRPLCAS@ @LIBMOTIF@ + @if [ -n $(shell $(MAKE) -v | grep "^GNU Make") ]; then \ + echo; \ + echo MAKE=$(MAKE); \ + echo "Please use GNU Make !"; \ + echo; \ + false; \ + fi # Cette règle n'est là que pour forcer la compilation de Gnuplot. $(MAKE) -C $(top_builddir)/tools $(AM_MAKEFLAGS) $(MAKE) -C $(top_builddir)/rpltags $(AM_MAKEFLAGS)