- set -e; cd $(services); test -f git-upload-pack \
- || mv git-upload-pack:new git-upload-pack
- set -e; cd $(etcuserv); test -f git-urlmap \
- || mv git-urlmap:new git-urlmap
+ cp logrotate $(etcdir)/logrotate.d/userv-git-daemon:new
+ set -e; for f in $(CONFIGS); do \
+ if test -f $$f; then continue; fi; \
+ mv $$f:new $$f; \
+ done
+
+mkdocdir:
+ mkdir -p $(docdir)/userv-git-daemon
+
+install-docs: mkdocdir
+ cp README $(docdir)/userv-git-daemon/README
+
+install-examples: all mkdocdir
+ cp inetd.conf $(docdir)/userv-git-daemon/inetd.conf