Bug 219482

Summary: pmake book say different with man of make about "include"
Product: Documentation Reporter: Jov <amutu>
Component: Books & ArticlesAssignee: freebsd-doc (Nobody) <doc>
Status: Closed Works As Intended    
Severity: Affects Only Me    
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Jov 2017-05-24 02:59:40 UTC
in <PMake — A Tutorial>3.2. Including Other Makefiles:

PMake allows you to do the same thing for makefiles, with the added ability to use variables in the filenames. An include directive in a makefile looks either like this:

#include <file>
or this:

#include "file"

-------------------------------------------------
while man page of make writes:

All such structures are
     identified by a line beginning with a single dot (‘.’) character.  Files
     are included with either .include ⟨file⟩ or .include "file".

I think the pmake book should change to ".include".
Comment 1 Baptiste Daroussin freebsd_committer freebsd_triage 2017-05-25 20:49:54 UTC
This document is about the old pmake implementation from long ago. FreeBSD uses bmake now.