chiark / gitweb /
debian/: Improve dyndns description a bit
[userv-utils.git] / git-daemon / Makefile
index ef117fe675be87f889ef83bbcb50aa48c37b859f..54a78c13f9062a6dd3d4b604c2163d806d73a58a 100644 (file)
@@ -7,7 +7,7 @@
 
 include ../settings.make
 
-gituser=       git
+gituser=       userv-git
 varloggit=     $(varlog)/git
 
 TARGETS=       git-upload-pack inetd.conf git-daemon git-service logrotate
@@ -23,6 +23,7 @@ all:          $(TARGETS)
 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 $@
 
@@ -45,6 +46,15 @@ install:     all
                        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
+
 distclean clean:
                rm -f $(TARGETS) *~