Re: [BUG] OSX ends with "install: git-init.1: No such file or directory"
merlyn@stonehenge.com (Randal L. Schwartz) writes:
Show 18 quoted lines
> If I cd into Documentation, and try to make "git-init.1", I get this:
>
> % make git-init.1
> asciidoc -b docbook -d manpage -f asciidoc.conf git-init.txt
> xmlto -m callouts.xsl man git-init.xml
> Note: meta date : No date. Using generated date git-init-db
> Note: meta source : No productname or alternative git-init-db
> Note: meta source : No refmiscinfo@class=source git-init-db
> Note: meta version: No productnumber or alternative git-init-db
> Note: meta version: No refmiscinfo@class=version git-init-db
> Warn: meta source : No valid fallback. Leaving empty git-init-db
> Note: meta manual : No ancestor with title git-init-db
> Note: meta manual : No refmiscinfo@class=manual git-init-db
> Warn: meta manual : No valid fallback. Leaving empty git-init-db
> Note: Writing git-init-db.1
> rm git-init.xml
>
> That's not good. Making git-init-db when it wants git-init.
Not good. I am _very_ tempted to do this.
;-)
---
diff --git a/Documentation/git-init.txt b/Documentation/git-init.txt
index 36838c7..30d9834 100644
--- a/Documentation/git-init.txt
+++ b/Documentation/git-init.txt
@@ -1 +1,17 @@
-include::git-init-db.txt[]
+git-init(1)
+===========
+
+NAME
+----
+git-init - Creates an empty git repository
+
+SYNOPSIS
+--------
+'git-init' [--template=<template_directory>] [--shared[=<permissions>]]
+
+
+DESCRIPTION
+-----------
+
+This is a silly synonym for gitlink:git-init-db[1]. Learn to use that
+command instead.