doc/examples/bash_completion \
doc/examples/ganeti.initd \
doc/examples/ganeti.cron \
+ doc/examples/gnt-config-backup \
doc/examples/hooks/ipsec \
lib/*.py[co] \
lib/build/*.py[co] \
doc/examples/bash_completion \
doc/examples/ganeti.cron \
doc/examples/ganeti.initd \
+ doc/examples/gnt-config-backup \
doc/examples/hooks/ipsec \
$(manhtml)
doc/html \
doc/examples/ganeti.initd.in \
doc/examples/ganeti.cron.in \
+ doc/examples/gnt-config-backup.in \
doc/examples/dumb-allocator \
doc/examples/hooks/ethers \
doc/examples/hooks/ipsec.in \
# a dist hook rule for catching revision control directories
distcheck-hook:
- if find $(top_distdir) | grep -F -e '.svn' -e '.git'; then \
- echo "Found revision control files in final archive" 1>&2 ; \
+ if find $(top_distdir) -name .svn -or -name .git | grep .; then \
+ echo "Found revision control files in final archive." 1>&2; \
+ exit 1; \
+ fi
+ if find $(top_distdir) -name '*.py[co]' | grep .; then \
+ echo "Found Python byte code in final archive." 1>&2; \
+ exit 1; \
+ fi
+ if find $(top_distdir) -name '*~' | grep .; then \
+ echo "Found backup files in final archive." 1>&2; \
exit 1; \
fi