Bug 219482 - pmake book say different with man of make about "include"
Summary: pmake book say different with man of make about "include"
Status: Closed Works As Intended
Alias: None
Product: Documentation
Classification: Unclassified
Component: Books & Articles (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-doc (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-24 02:59 UTC by Jov
Modified: 2017-05-25 20:49 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.