Skip to content

Commit

Permalink
Always install pmc.foo(3) manpages.
Browse files Browse the repository at this point in the history
There is no point in hiding, e.g. pmc.xscale(3) from a developer running
on amd64, when the target arch in question will probably never have
manual pages installed at all.

Reviewed by:	sbruno, hiren
  • Loading branch information
uqs committed May 3, 2013
1 parent 345c649 commit d165ee7
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions lib/libpmc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,35 +23,31 @@ MAN+= pmclog.3
MAN+= pmc.soft.3

# PMC-dependent manual pages
.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
MAN+= pmc.atom.3
MAN+= pmc.core.3
MAN+= pmc.core2.3
MAN+= pmc.corei7.3
MAN+= pmc.corei7uc.3
MAN+= pmc.haswell.3
MAN+= pmc.haswelluc.3
MAN+= pmc.iaf.3
MAN+= pmc.ivybridge.3
MAN+= pmc.ivybridgexeon.3
MAN+= pmc.ucf.3
MAN+= pmc.k7.3
MAN+= pmc.k8.3
MAN+= pmc.mips24k.3
MAN+= pmc.octeon.3
MAN+= pmc.p4.3
MAN+= pmc.p5.3
MAN+= pmc.p6.3
MAN+= pmc.corei7.3
MAN+= pmc.corei7uc.3
MAN+= pmc.sandybridge.3
MAN+= pmc.sandybridgeuc.3
MAN+= pmc.sandybridgexeon.3
MAN+= pmc.sandybridgeuc.3
MAN+= pmc.sandybridgexeon.3
MAN+= pmc.tsc.3
MAN+= pmc.ucf.3
MAN+= pmc.westmere.3
MAN+= pmc.westmereuc.3
MAN+= pmc.tsc.3
.elif ${MACHINE_CPUARCH} == "arm"
MAN+= pmc.xscale.3
.elif ${MACHINE_CPUARCH} == "mips"
MAN+= pmc.mips24k.3
MAN+= pmc.octeon.3
.endif

MLINKS+= \
pmc_allocate.3 pmc_release.3 \
Expand Down

0 comments on commit d165ee7

Please sign in to comment.