From: Daniel Elstner Date: Thu, 10 Sep 2015 20:03:07 +0000 (+0200) Subject: Build: Use GNUMAKEFLAGS and $@ X-Git-Tag: libserialport-0.1.1~12 X-Git-Url: https://sigrok.org/gitweb/?p=libserialport.git;a=commitdiff_plain;h=962143bc5c3a9a6e130cc1273ab465238c178d70 Build: Use GNUMAKEFLAGS and $@ --- diff --git a/Makefile.am b/Makefile.am index 661960e..3fa06ee 100644 --- a/Makefile.am +++ b/Makefile.am @@ -20,7 +20,7 @@ ACLOCAL_AMFLAGS = -I autostuff AM_LIBTOOLFLAGS = --silent -MAKEFLAGS = --no-print-directory +GNUMAKEFLAGS = --no-print-directory # Enable more compiler warnings. AM_CFLAGS = -std=c99 -Wall -Wextra -pedantic -Wmissing-prototypes -Wshadow @@ -60,7 +60,7 @@ MAINTAINERCLEANFILES = ChangeLog .PHONY: ChangeLog doc ChangeLog: - git --git-dir $(top_srcdir)/.git log > ChangeLog || touch ChangeLog + git --git-dir '$(top_srcdir)/.git' log >$@ || touch $@ dist-hook: ChangeLog