2 # Copyright (C) 2013, Eric Wong <normalperson@yhbt.net> and all contributors
3 # License: AGPLv3 or later (https://www.gnu.org/licenses/agpl-3.0.txt)
5 use ExtUtils::MakeMaker;
7 NAME => 'public-inbox',
9 AUTHOR => 'Eric Wong <normalperson@yhbt.net>',
10 ABSTRACT => 'public-inbox.org infrastructure',
11 EXE_FILES => [qw/public-inbox-mda/],
13 # note: we use ssoma(1) and spamc(1),
14 # NOT the Perl modules
16 'Email::MIME::ContentType' => 0,
18 'Email::Address' => 0,
24 RSYNC_DEST = public-inbox.org:/srv/public-inbox/
25 docs = README COPYING INSTALL $(shell git ls-files Documentation/ '*.txt')
26 gz_docs = $(addsuffix .gz, $(docs))
28 gzip -9 --rsyncable < $< > $@+
34 git set-file-times $(docs)
36 rsync --chmod=Fugo=r -av $(gz_docs) $(docs) $(RSYNC_DEST)