include ../settings.make
-gituser= git
+gituser= userv-git
varloggit= $(varlog)/git
TARGETS= git-upload-pack inetd.conf git-daemon git-service logrotate
sedscript: Makefile read-urlmap
echo >$@.new '$(foreach f, $(SUBSTVARS), s,@$f@,$($f),g; )'
echo >>$@.new '/@@READ_URLMAP@@/c\'
+ @#'
perl >>$@.new -pe 's/\\/\\\\/g; s/$$/\\/' <read-urlmap
mv -f $@.new $@
mv $$f:new $$f; \
done
-clean:
- rm -f $(TARGETS)
+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
+
+distclean clean:
+ rm -f $(TARGETS) *~
# end