changed the install-exec-hook for codepot-user and AccessHandler.pm
This commit is contained in:
parent
02e291f1d1
commit
ebe8391ab0
@ -8,3 +8,7 @@ perl_SCRIPTS=perl/Codepot/AccessHandler.pm perl/Codepot/AuthenHandler.pm
|
|||||||
|
|
||||||
EXTRA_DIST = $(cfg_DATA) $(cfg_SCRIPTS) $(perl_SCRIPTS)
|
EXTRA_DIST = $(cfg_DATA) $(cfg_SCRIPTS) $(perl_SCRIPTS)
|
||||||
|
|
||||||
|
install-exec-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"
|
||||||
|
@ -509,7 +509,8 @@ install-dvi: install-dvi-am
|
|||||||
install-dvi-am:
|
install-dvi-am:
|
||||||
|
|
||||||
install-exec-am:
|
install-exec-am:
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
|
||||||
install-html: install-html-am
|
install-html: install-html-am
|
||||||
|
|
||||||
install-html-am:
|
install-html-am:
|
||||||
@ -549,24 +550,29 @@ ps-am:
|
|||||||
uninstall-am: uninstall-cfgDATA uninstall-cfgSCRIPTS \
|
uninstall-am: uninstall-cfgDATA uninstall-cfgSCRIPTS \
|
||||||
uninstall-perlSCRIPTS
|
uninstall-perlSCRIPTS
|
||||||
|
|
||||||
.MAKE: install-am install-strip
|
.MAKE: install-am install-exec-am install-strip
|
||||||
|
|
||||||
.PHONY: all all-am check check-am clean clean-generic cscopelist-am \
|
.PHONY: all all-am check check-am clean clean-generic cscopelist-am \
|
||||||
ctags-am distclean distclean-generic distdir dvi dvi-am html \
|
ctags-am distclean distclean-generic distdir dvi dvi-am html \
|
||||||
html-am info info-am install install-am install-cfgDATA \
|
html-am info info-am install install-am install-cfgDATA \
|
||||||
install-cfgSCRIPTS install-data install-data-am install-dvi \
|
install-cfgSCRIPTS install-data install-data-am install-dvi \
|
||||||
install-dvi-am install-exec install-exec-am install-html \
|
install-dvi-am install-exec install-exec-am install-exec-hook \
|
||||||
install-html-am install-info install-info-am install-man \
|
install-html install-html-am install-info install-info-am \
|
||||||
install-pdf install-pdf-am install-perlSCRIPTS install-ps \
|
install-man install-pdf install-pdf-am install-perlSCRIPTS \
|
||||||
install-ps-am install-strip installcheck installcheck-am \
|
install-ps install-ps-am install-strip installcheck \
|
||||||
installdirs maintainer-clean maintainer-clean-generic \
|
installcheck-am installdirs maintainer-clean \
|
||||||
mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags-am \
|
maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
|
||||||
uninstall uninstall-am uninstall-cfgDATA uninstall-cfgSCRIPTS \
|
pdf-am ps ps-am tags-am uninstall uninstall-am \
|
||||||
uninstall-perlSCRIPTS
|
uninstall-cfgDATA uninstall-cfgSCRIPTS uninstall-perlSCRIPTS
|
||||||
|
|
||||||
.PRECIOUS: Makefile
|
.PRECIOUS: Makefile
|
||||||
|
|
||||||
|
|
||||||
|
install-exec-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"
|
||||||
|
|
||||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||||
.NOEXPORT:
|
.NOEXPORT:
|
||||||
|
@ -2,3 +2,8 @@
|
|||||||
sbin_SCRIPTS = codepot-user codepot-mon-httpd
|
sbin_SCRIPTS = codepot-user codepot-mon-httpd
|
||||||
|
|
||||||
EXTRA_DIST = $(sbin_SCRIPTS)
|
EXTRA_DIST = $(sbin_SCRIPTS)
|
||||||
|
|
||||||
|
install-exec-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)$(sbindir)/codepot-user"
|
||||||
|
@ -426,7 +426,8 @@ install-dvi: install-dvi-am
|
|||||||
install-dvi-am:
|
install-dvi-am:
|
||||||
|
|
||||||
install-exec-am: install-sbinSCRIPTS
|
install-exec-am: install-sbinSCRIPTS
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
|
||||||
install-html: install-html-am
|
install-html: install-html-am
|
||||||
|
|
||||||
install-html-am:
|
install-html-am:
|
||||||
@ -465,23 +466,28 @@ ps-am:
|
|||||||
|
|
||||||
uninstall-am: uninstall-sbinSCRIPTS
|
uninstall-am: uninstall-sbinSCRIPTS
|
||||||
|
|
||||||
.MAKE: install-am install-strip
|
.MAKE: install-am install-exec-am install-strip
|
||||||
|
|
||||||
.PHONY: all all-am check check-am clean clean-generic cscopelist-am \
|
.PHONY: all all-am check check-am clean clean-generic cscopelist-am \
|
||||||
ctags-am distclean distclean-generic distdir dvi dvi-am html \
|
ctags-am distclean distclean-generic distdir dvi dvi-am html \
|
||||||
html-am info info-am install install-am install-data \
|
html-am info info-am install install-am install-data \
|
||||||
install-data-am install-dvi install-dvi-am install-exec \
|
install-data-am install-dvi install-dvi-am install-exec \
|
||||||
install-exec-am install-html install-html-am install-info \
|
install-exec-am install-exec-hook install-html install-html-am \
|
||||||
install-info-am install-man install-pdf install-pdf-am \
|
install-info install-info-am install-man install-pdf \
|
||||||
install-ps install-ps-am install-sbinSCRIPTS install-strip \
|
install-pdf-am install-ps install-ps-am install-sbinSCRIPTS \
|
||||||
installcheck installcheck-am installdirs maintainer-clean \
|
install-strip installcheck installcheck-am installdirs \
|
||||||
maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
|
maintainer-clean maintainer-clean-generic mostlyclean \
|
||||||
pdf-am ps ps-am tags-am uninstall uninstall-am \
|
mostlyclean-generic pdf pdf-am ps ps-am tags-am uninstall \
|
||||||
uninstall-sbinSCRIPTS
|
uninstall-am uninstall-sbinSCRIPTS
|
||||||
|
|
||||||
.PRECIOUS: Makefile
|
.PRECIOUS: Makefile
|
||||||
|
|
||||||
|
|
||||||
|
install-exec-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)$(sbindir)/codepot-user'
|
||||||
|
|
||||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||||
.NOEXPORT:
|
.NOEXPORT:
|
||||||
|
Loading…
Reference in New Issue
Block a user