Don't try to use a generic rule for building usage.h or it will fail make distcheck when builddir != srcdir
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
# $Id: Makefile.am,v 1.23 2007/10/15 04:54:00 rocky Exp $
|
# $Id: Makefile.am,v 1.24 2007/11/17 11:58:27 flameeyes Exp $
|
||||||
#
|
#
|
||||||
# Copyright (C) 2004, 2005, 2006, 2007 Rocky Bernstein <rocky@gnu.org>
|
# Copyright (C) 2004, 2005, 2006, 2007 Rocky Bernstein <rocky@gnu.org>
|
||||||
# Copyright (C) 1998 Monty xiphmont@mit.edu
|
# Copyright (C) 1998 Monty xiphmont@mit.edu
|
||||||
@@ -47,13 +47,10 @@ bin_PROGRAMS = cd-paranoia
|
|||||||
|
|
||||||
INCLUDES = -I$(top_srcdir) $(LIBCDIO_CFLAGS)
|
INCLUDES = -I$(top_srcdir) $(LIBCDIO_CFLAGS)
|
||||||
|
|
||||||
# These are the implict rules we've got here.
|
|
||||||
SUFFIXES = .txt .h
|
|
||||||
|
|
||||||
cd-paranoia.$(OBJEXT): usage.h
|
cd-paranoia.$(OBJEXT): usage.h
|
||||||
|
|
||||||
if HAVE_PERL
|
if HAVE_PERL
|
||||||
.txt.h: $(srcdir)/pod2c.pl
|
usage.h: usage.txt $(srcdir)/pod2c.pl
|
||||||
$(PERL) $(srcdir)/pod2c.pl $< >$@
|
$(PERL) $(srcdir)/pod2c.pl $< >$@
|
||||||
else
|
else
|
||||||
usage.h: usage-copy.h
|
usage.h: usage-copy.h
|
||||||
|
|||||||
Reference in New Issue
Block a user