[Bug 11594] New: unnecessary build time dependency (mkproto.pl, perl)
samba-bugs at samba.org
samba-bugs at samba.org
Mon Nov 9 14:44:34 UTC 2015
https://bugzilla.samba.org/show_bug.cgi?id=11594
Bug ID: 11594
Summary: unnecessary build time dependency (mkproto.pl, perl)
Product: rsync
Version: 3.1.2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5
Component: core
Assignee: wayned at samba.org
Reporter: petar at smokva.net
QA Contact: rsync-qa at samba.org
When building rsync from its distfile,
perl ./mkproto.pl ./*.c ./lib/compat.c
will always run, even though up-to-date versions of proto.h and
proto.h-tstamp are provided by the distfile.
The reason is the following target:
proto.h-tstamp: $(srcdir)/*.c $(srcdir)/lib/compat.c config.h
perl $(srcdir)/mkproto.pl $(srcdir)/*.c $(srcdir)/lib/compat.c
which declares config.h (created by the configure script, obviously
always newer than the proto.h file provided by the distfile) as its
source without actually using the file.
Removing config.h from the list of proto.h-tstamp sources eliminates
the need for perl when building rsync from its distfile.
--
You are receiving this mail because:
You are the QA Contact for the bug.
More information about the rsync
mailing list