1 SUBDIRS = . utils src doc
2 doc_DATA = AUTHORS ChangeLog COPYING INSTALL NEWS README
4 # This is the only way with automake I know of to force 'check-git-hooks'
5 # to be evaluated before 'all'. If there is a nicer way, I'm all ears...
6 BUILT_SOURCES = check-git-hooks
8 ###################################
13 if test -d .git; then \
14 for hook in githooks/???*; do \
16 *.sample|*~|*.swp) continue;; \
18 if test -x $$hook; then \
19 echo "Installing git hook $${hook##*/}..."; \
20 cp $$hook .git/hooks; \
21 chmod a+x .git/hooks/$${hook##*/}; \
27 if test -d .git; then \
28 for hook in githooks/???*; do \
30 *.sample|*~|*.swp) continue;; \
32 if test -x $$hook -a ! -e .git/hooks/$${hook##*/}; then \
35 echo "WARNING: You have an uninstalled git hook $$hook"; \
36 echo "WARNING: Please, consider taking it into use by"; \
37 echo "WARNING: running 'make install-git-hooks'..."; \
44 # linker script generation
45 generate-linker-scripts: