]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
Add a rule to make build failure w/o --enable-maintainer-mode clearer.
authorRoland McGrath <roland@hack.frob.com>
Wed, 27 Jun 2012 01:09:10 +0000 (18:09 -0700)
committerRoland McGrath <roland@hack.frob.com>
Wed, 27 Jun 2012 01:09:10 +0000 (18:09 -0700)
libcpu/ChangeLog
libcpu/Makefile.am

index ef9e7e517662b134507f58be7e6064e881ea6d52..b1d79a98e9d9b58bd4e56d843dba0ade59465eb9 100644 (file)
@@ -1,3 +1,7 @@
+2012-06-26  Roland McGrath  <roland@hack.frob.com>
+
+       * Makefile.am [!MAINTAINER_MODE] ($(srcdir)/%_dis.h): New rule.
+
 2012-02-24  Mark Wielaard  <mjw@redhat.com>
 
        * Makefile.am (CLEANFILES): Move %_dis.h to...
index c1facd7cc91f518e45afd2f8e183887bf5477cb1..8f62be23d18ef641e4a4751ac4a6979e49b203c4 100644 (file)
@@ -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