We used to do all the info indexing work in info.pl: find subjects, create subjects.mk (to tell make the list of subjects), the subject pages, and TOP.t. Worked, but touching an info page triggered a full rebuild of all subject pages and TOP.t. Commit2f14064
(v4.3.0) tried to avoid that by splitting info.pl into findsubj.pl, mksubj.pl, mktop.pl. findsubj.pl puts not just the subjects into subjects.mk, but also make rules for the subject pages, to guide their remaking. mksubj.pl creates a single subject page. mktop.pl creates TOP.t. Unfortunately, this doesn't work so well. Since subjects.mk doesn't exist in a virgin tree, we use -include. Unwanted consequence: findsubj.pl failure doesn't stop make. Moreover, the complex make machinery breaks down when info sources get removed or subjects get dropped. Go back to the old method, except keep mktop.pl separate, as that part works just fine, and use simpler make rules. mksubj.pl now creates subjects.mk and all subject pages, like info.pl did. This effectively reverts most of commit2f14064
. I'll address the excessive rebuilding of subject pages in a different way shortly.
67 lines
1 KiB
Text
67 lines
1 KiB
Text
# Generated files, keep in sync with Make.mk
|
|
# $(clean)
|
|
*.[ado]
|
|
/src/util/empsched
|
|
/src/util/fairland
|
|
/src/util/files
|
|
/src/util/pconfig
|
|
/src/client/empire
|
|
/src/server/emp_server
|
|
/info/Combat.t
|
|
/info/Commerce.t
|
|
/info/Commodities.t
|
|
/info/Communication.t
|
|
/info/Deity.t
|
|
/info/Detection.t
|
|
/info/Diplomacy.t
|
|
/info/Distribution.t
|
|
/info/Introduction.t
|
|
/info/LandUnits.t
|
|
/info/Loans.t
|
|
/info/Maps.t
|
|
/info/Nations.t
|
|
/info/Nukes.t
|
|
/info/Obsolete.t
|
|
/info/Occupation.t
|
|
/info/Planes.t
|
|
/info/Playing.t
|
|
/info/Populace.t
|
|
/info/Producing.t
|
|
/info/Sectors.t
|
|
/info/Server.t
|
|
/info/Ships.t
|
|
/info/Transportation.t
|
|
/info/Updates.t
|
|
/info/TOP.t
|
|
/info/stamp-subj
|
|
# $(distclean)
|
|
/config.h
|
|
/config.log
|
|
/config.status
|
|
/info.html
|
|
/info.nr
|
|
/lib
|
|
/stamp-h
|
|
/GNUmakefile
|
|
/src/client/Makefile
|
|
/src/client/ipglob.c
|
|
/src/lib/global/path.c
|
|
/autom4te.cache
|
|
/src/client/autom4te.cache
|
|
/subjects.mk
|
|
# $(src_distgen)
|
|
/aclocal.m4
|
|
/config.h.in
|
|
/configure
|
|
/stamp-h.in
|
|
# $(bld_distgen)
|
|
/sources.mk
|
|
# $(cli_distgen)
|
|
/src/client/aclocal.m4
|
|
/src/client/config.h.in
|
|
/src/client/configure
|
|
|
|
# Generic junk
|
|
*.orig
|
|
*.rej
|
|
*~
|