Bug 222631

Summary: make -n -C doc/en_US.ISO8859-1/articles/pam/ fails if using git
Product: Documentation Reporter: Wolfram Schneider <wosch>
Component: Books & ArticlesAssignee: Wolfram Schneider <wosch>
Status: Closed FIXED    
Severity: Affects Only Me CC: wblock
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 222857    

Description Wolfram Schneider freebsd_committer freebsd_triage 2017-09-26 21:38:55 UTC
git clone https://github.com/freebsd/freebsd-doc.git doc
cd doc/en_US.ISO8859-1/articles/pam

make -n
fatal: pam_app.c: no such path in the working tree.
Use 'git <command> -- <path>...' to specify paths that do not exist locally.
make: "/home/wosch/freebsd-doc/en_US.ISO8859-1/articles/pam/../../../share/mk/doc.docbook.mk" line 101: warning: "cd /home/wosch/freebsd-doc/en_US.ISO8859-1/articles/pam && /usr/local/bin/git log -1 --pretty=format:' --stringparam latestrevision.timestamp "%ci"  --stringparam latestrevision.committer "%cn"  --stringparam latestrevision.number "%h"' article.xml pam_app.c pam_conv.c pam_module.c" returned non-zero status
sed -e '/^[\/ ]\*/d' su.c >pam_app.c
sed -e '/^[\/ ]\*/d' converse.c >pam_conv.c
sed -e '/^[\/ ]\*/d' pam_unix.c >pam_module.c
Comment 1 Wolfram Schneider freebsd_committer freebsd_triage 2017-09-26 22:00:37 UTC
Same problem in doc/en_US.ISO8859-1/books/handbook
Comment 2 commit-hook freebsd_committer freebsd_triage 2017-09-27 07:30:10 UTC
A commit references this bug:

Author: wosch
Date: Wed Sep 27 07:29:27 UTC 2017
New revision: 50940
URL: https://svnweb.freebsd.org/changeset/doc/50940

Log:
  fix `make -n' if using git

  PR: 222631

Changes:
  head/en_US.ISO8859-1/articles/pam/Makefile
  head/fr_FR.ISO8859-1/articles/pam/Makefile
  head/ru_RU.KOI8-R/articles/pam/Makefile
Comment 3 commit-hook freebsd_committer freebsd_triage 2017-09-28 16:59:20 UTC
A commit references this bug:

Author: wosch
Date: Thu Sep 28 16:59:09 UTC 2017
New revision: 50951
URL: https://svnweb.freebsd.org/changeset/doc/50951

Log:
  new variable XMLDOCS_NO_SRCS

  if set there will be no implicit adding of files to SRCS, which may
  break `make -n', or `make -j1', or dependencies checking

  PR: 222631

Changes:
  head/share/mk/doc.xml.mk
Comment 4 commit-hook freebsd_committer freebsd_triage 2017-09-28 17:00:22 UTC
A commit references this bug:

Author: wosch
Date: Thu Sep 28 16:59:40 UTC 2017
New revision: 50952
URL: https://svnweb.freebsd.org/changeset/doc/50952

Log:
  fix `make -n' if using git

  PR: 222631

Changes:
  head/en_US.ISO8859-1/books/handbook/Makefile
Comment 5 commit-hook freebsd_committer freebsd_triage 2017-09-28 17:01:25 UTC
A commit references this bug:

Author: wosch
Date: Thu Sep 28 17:00:23 UTC 2017
New revision: 50953
URL: https://svnweb.freebsd.org/changeset/doc/50953

Log:
  fix `make -n' if using git

  PR: 222631

Changes:
  head/de_DE.ISO8859-1/books/handbook/Makefile
  head/el_GR.ISO8859-7/books/handbook/Makefile
  head/fr_FR.ISO8859-1/books/handbook/Makefile
  head/hu_HU.ISO8859-2/books/handbook/Makefile
  head/it_IT.ISO8859-15/books/handbook/Makefile
  head/ja_JP.eucJP/books/handbook/Makefile
  head/mn_MN.UTF-8/books/handbook/Makefile
  head/nl_NL.ISO8859-1/books/handbook/Makefile
  head/pl_PL.ISO8859-2/books/handbook/Makefile
  head/ru_RU.KOI8-R/books/handbook/Makefile
  head/zh_CN.UTF-8/books/handbook/Makefile
Comment 6 commit-hook freebsd_committer freebsd_triage 2017-10-11 11:32:07 UTC
A commit references this bug:

Author: wosch
Date: Wed Oct 11 11:31:28 UTC 2017
New revision: 51100
URL: https://svnweb.freebsd.org/changeset/doc/51100

Log:
  sync with English makefile, r51099

  PR: 222631

Changes:
  head/de_DE.ISO8859-1/books/handbook/Makefile
  head/el_GR.ISO8859-7/books/handbook/Makefile
  head/fr_FR.ISO8859-1/books/handbook/Makefile
  head/hu_HU.ISO8859-2/books/handbook/Makefile
  head/it_IT.ISO8859-15/books/handbook/Makefile
  head/ja_JP.eucJP/books/handbook/Makefile
  head/mn_MN.UTF-8/books/handbook/Makefile
  head/nl_NL.ISO8859-1/books/handbook/Makefile
  head/pl_PL.ISO8859-2/books/handbook/Makefile
  head/ru_RU.KOI8-R/books/handbook/Makefile
  head/zh_CN.UTF-8/books/handbook/Makefile