]> git.pond.sub.org Git - empserver/commit
Declare subjects instead of picking them up automatically
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 28 Apr 2013 12:38:50 +0000 (14:38 +0200)
committerMarkus Armbruster <armbru@pond.sub.org>
Wed, 8 May 2013 04:57:57 +0000 (06:57 +0200)
commit890e88d1496c9a2ac143555ff1f23d0a6eea1048
tree338b2243bae553381198533083d754b461c08ea9
parentcbed134d815e2b106328b9881ccc5c4ec2edce72
Declare subjects instead of picking them up automatically

Since subjects were added in Empire 2, we've always picked them up
from .SA requests.  If you mistype a subject there, you get a "is a
NEW subject" warning, and incorrect subject pages.  When building a
pristine tree, you get bogus "is a NEW subject" warnings for all
subjects.  If you somehow delete the generated subjects.mk, but not
the generated subject files, the build breaks.

Declare subjects in Make variable subjects.  Drop generated makefile
subject.mk.

Treat unknown topics in .SA arguments as errors.  This replaces the
"$subj is a NEW subject" warning.

Treat subjects without member pages as errors.  This replaces the "The
subject $subj has been removed" warning.

Safer and simpler.
.gitignore
Make.mk
info/README
info/mksubj.pl
info/subjects.mk [new file with mode: 0644]