From: Roland McGrath Date: Wed, 27 Jun 2012 01:09:10 +0000 (-0700) Subject: Add a rule to make build failure w/o --enable-maintainer-mode clearer. X-Git-Tag: elfutils-0.155~35 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b2589ffa7c2bec754952acc8116e03853d65563d;p=thirdparty%2Felfutils.git Add a rule to make build failure w/o --enable-maintainer-mode clearer. --- diff --git a/libcpu/ChangeLog b/libcpu/ChangeLog index ef9e7e517..b1d79a98e 100644 --- a/libcpu/ChangeLog +++ b/libcpu/ChangeLog @@ -1,3 +1,7 @@ +2012-06-26 Roland McGrath + + * Makefile.am [!MAINTAINER_MODE] ($(srcdir)/%_dis.h): New rule. + 2012-02-24 Mark Wielaard * Makefile.am (CLEANFILES): Move %_dis.h to... diff --git a/libcpu/Makefile.am b/libcpu/Makefile.am index c1facd7cc..8f62be23d 100644 --- a/libcpu/Makefile.am +++ b/libcpu/Makefile.am @@ -1,6 +1,6 @@ ## Process this file with automake to create Makefile.in ## -## Copyright (C) 2002-2011 Red Hat, Inc. +## Copyright (C) 2002-2012 Red Hat, Inc. ## This file is part of elfutils. ## ## This file is free software; you can redistribute it and/or modify @@ -55,6 +55,13 @@ noinst_PROGRAMS = i386_gendis $(srcdir)/%_dis.h: %_defs i386_gendis ./i386_gendis $< > $@ + +else + +$(srcdir)/%_dis.h: + @echo '*** missing $@; configure with --enable-maintainer-mode' + @false + endif %.mnemonics: %_defs