Bug 222626

Summary: failure: make -C en_US.ISO8859-1/htdocs/ports -j1 install
Product: Documentation Reporter: Wolfram Schneider <wosch>
Component: Books & ArticlesAssignee: Wolfram Schneider <wosch>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Wolfram Schneider freebsd_committer freebsd_triage 2017-09-26 17:22:10 UTC
make -j1 fails in doc/en_US.ISO8859-1/htdocs/ports

make -C en_US.ISO8859-1/htdocs/ports -j1 install
`INDEX' was not built (made 0, flags 2009, type b020001)!
`categories' was not built (made 0, flags 2009, type 3000000)!
`categories.descriptions' was not built (made 0, flags 2009, type 3000000)!
`packages.exists' was not built (made 0, flags 2009, type b020001)!
`portindex' was not built (made 0, flags 2009, type 3000000)!
`ports.ent' was not built (made 0, flags 2009, type 3000000)!
`index.xml' was not built (made 0, flags 2009, type 3000000)!
`installing.xml' was not built (made 0, flags 2009, type 3000000)!
`references.xml' was not built (made 0, flags 2009, type 3000000)!
`searching.xml' was not built (made 0, flags 2009, type 3000000)!
`updating.xml' was not built (made 0, flags 2009, type 3000000)!
`orphans' was not built (made 0, flags 2009, type 3000001)!
`beforeinstall' was not built (made 0, flags 2009, type b000001)!

I think the reason is that the install target depends on the "all" target. This is a mistake, the "install: target is independent from "all", you should run it only after a successfully run of "all".

en_US.ISO8859-1/htdocs/ports/Makefile
install: all beforeinstall
Comment 1 commit-hook freebsd_committer freebsd_triage 2017-09-29 08:52:40 UTC
A commit references this bug:

Author: wosch
Date: Fri Sep 29 08:51:43 UTC 2017
New revision: 50956
URL: https://svnweb.freebsd.org/changeset/doc/50956

Log:
  the "install" target should not depend on "all"

  this fix the issue with the failing:
  make -C en_US.ISO8859-1/htdocs/ports -j1 install

  PR: 222626

Changes:
  head/de_DE.ISO8859-1/htdocs/ports/Makefile
  head/en_US.ISO8859-1/htdocs/ports/Makefile
  head/ja_JP.eucJP/htdocs/ports/Makefile
  head/ru_RU.KOI8-R/htdocs/ports/Makefile