Bug 4681 - Generated rules files not being installed
Summary: Generated rules files not being installed
Status: RESOLVED FIXED
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: Building & Packaging (show other bugs)
Version: SVN Trunk (Latest Devel Version)
Hardware: Other other
: P3 normal
Target Milestone: 3.2.0
Assignee: SpamAssassin Developer Mailing List
URL:
Whiteboard:
Keywords:
: 4740 (view as bug list)
Depends on: 5123
Blocks:
  Show dependency tree
 
Reported: 2005-11-11 01:06 UTC by John Gardiner Myers
Modified: 2006-10-27 06:54 UTC (History)
1 user (show)



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 John Gardiner Myers 2005-11-11 01:06:07 UTC
Check out a fresh copy of the SpamAssassin trunk
perl Makefile.PL PREFIX=/tmp/sa SYSCONFDIR=/tmp/etc INSTALLSITELIB=/tmp/sa/lib
DATADIR=/tmp/sa/rules 
make install

Notice that 20_advance_fee.cf etc. are not present in /tmp/sa/rules/
Comment 1 John Gardiner Myers 2005-12-17 18:56:06 UTC
*** Bug 4740 has been marked as a duplicate of this bug. ***
Comment 2 Justin Mason 2006-10-19 07:14:54 UTC
bug 5123 -- moving those files back to 'rules' in the distro tarball -- would
fix this, I think.
Comment 3 Justin Mason 2006-10-25 09:20:09 UTC
most are now installed; but rules/72_active.cf is not.  Still, this is still a
topic of discussion at bug 5123...
Comment 4 Justin Mason 2006-10-27 06:54:06 UTC
aha, I have a workaround now.  neatly, it also works around the annoying "files
are missing... please inform the author" warning, too.:

: jm 120...; svn commit -m "bug 4681: work around race condition between
Makefile.PL and the generated file rules/72_active.cf; create the file at
Makefile.PL time, so that it will be installed and to silence a silly warning"
Makefile.PL
Sending        Makefile.PL
Transmitting file data .
Committed revision 468385.