use strict;
use warnings;
+BEGIN {
+ # 'macros' could got checked out empty by our '-r captive' tag.
+ if (!-f "./macros/AutoGen.pm") {
+ do { system $_ and die "$_: $!"; } for ("cvs co -A macros");
+ }
+ }
use lib "./macros/";
use AutoGen;
"name"=>"lufs",
"ARGV"=>\@ARGV,
"clean"=>[qw(
+ ./ChangeLog.captive.bak
./lufsd/lufsd
./util/auto.ftpfs
./util/auto.sshfs
./util/lufsmnt-bin
./util/lufsmount
- ./util/lufsumount
./kernel/Linux/prepmod
./kernel/Linux/modbin/*.o
./kernel/Linux/modbin/prepmod-tmp-dir
+ ./kernel/Linux/2.4/makefile
+ ./kernel/Linux/2.6/makefile
+ ./debian/changelog
)],
"ChangeLog"=>"ChangeLog.captive",
+ "prep"=>sub {
+ # 1.6 to prevent weird error on configure.in:81 with unsatistifed dependencies
+ AutoGen->checkcommandversion("automake","1.6");
+ 1;
+ },
);