Robert Haas <robertmhaas@gmail.com> writes:
> Those are good points. My point was just that you can't actually
> build that file at the time you RUN the regression tests, because you
> have to build it first, then install it, then run the regression
> tests. It could be a separate target, like 'make policy', but I don't
> think it works to make it part of 'make installcheck'.
So? Once you admit that you can do that, it's a matter of a couple more
lines to make the installcheck target depend on the policy target iff
selinux was enabled.
regards, tom lane