Bug 4634 - code-tied rules are not installed after a clean build
Summary: code-tied rules are not installed after a clean build
Status: RESOLVED FIXED
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: Building & Packaging (show other bugs)
Version: SVN Trunk (Latest Devel Version)
Hardware: Other other
: P5 major
Target Milestone: Undefined
Assignee: SpamAssassin Developer Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-15 06:22 UTC by Sidney Markowitz
Modified: 2006-04-07 04:43 UTC (History)
0 users



Attachment Type Modified Status Actions Submitter/CLA Status

Note You need to log in before you can comment on or make changes to this bug.
Description Sidney Markowitz 2005-10-15 06:22:39 UTC
none of the rules in the rulescode directory are installed after doing:

make distclean ; perl Makefile.PL ; make ; make test ; make install

This breaks the installation in a clean build.

They are installed properly if you do an additional perl Makefile.PL after the make.

Discussion:
It appears that perl Makefile.PL creates a line in Makefile that starts with
 # macro =>
that contains all the files in the rules directory and which is used as a list
of the rule files to copy during make install. The files don't exist in the
rules directory until the build/mkrules step in the make, so a clean run of perl
Makefile.PL does not create that list properly.
Comment 1 openmacnews 2005-10-15 18:43:03 UTC
just verifying.

w/ r321518 on OSX 10.4.2, seeing the same behavior ... no rules installed to my
specified DATADIR.

richard
Comment 2 Sidney Markowitz 2006-04-07 11:43:35 UTC
r326272 and r371681 seem to have addressed this, even though this bug wasn't
mentioned in their checkin notices.