codepot/etc/Makefile.am

15 lines
577 B
Makefile
Raw Permalink Normal View History

2010-01-24 14:34:03 +00:00
cfgdir=$(CFGDIR)
cfg_DATA = codepot.ini codepot.mysql codepot.pgsql codepot.sqlite codepot.a2ldap codepot.httpd
2015-02-05 13:12:37 +00:00
cfg_SCRIPTS = start-commit pre-commit post-commit pre-revprop-change post-revprop-change cloc.pl
2010-01-24 14:34:03 +00:00
perldir=$(CFGDIR)/perl/Codepot
perl_SCRIPTS=perl/Codepot/AccessHandler.pm perl/Codepot/AuthenHandler.pm
2015-02-05 13:12:37 +00:00
EXTRA_DIST = $(cfg_DATA) $(cfg_SCRIPTS) $(perl_SCRIPTS)
2010-01-24 14:34:03 +00:00
2022-04-15 07:59:33 +00:00
install-data-hook:
perl -e 'use Digest::SHA1' 2>/dev/null || \
perl -e 'use Digest::SHA' 2>/dev/null && \
sed -ri -e 's|Digest::SHA1|Digest::SHA|g' "$(DESTDIR)$(CFGDIR)/perl/Codepot/AccessHandler.pm"