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 # Note: this may be rewritten in another language in the future,
6 # so don't depend on any public Perl API
8 use ExtUtils::MakeMaker;
12 AUTHOR => 'Eric Wong <normalperson@yhbt.net>',
13 ABSTRACT => 'some sort of mail archiver',
14 EXE_FILES => [qw/ssoma-mda ssoma ssoma-rm/],
16 'Email::LocalDelivery' => 0,
18 'File::FcntlLock' => 0,
19 'Net::IMAP::Simple' => 0,
26 RSYNC_DEST = ssoma.public-inbox.org:/srv/ssoma/
27 docs = INSTALL README COPYING $(shell git ls-files Documentation/ '*.txt')
28 gz_docs = $(addsuffix .gz, $(docs))
30 gzip -9 --rsyncable < $< > $@+
36 git set-file-times $(docs)
38 rsync --chmod=Fugo=r -av $(gz_docs) $(docs) $(RSYNC_DEST)