Allow DOCS to be overriden and conditionally clear the SUBDIR.
This is to overcome a problem in building this part of the tree from the new build structure. The current system relies on picking up a Makefile.inc from a parent directory that sets WEBBASE and as the subdirectories are entered this Makefile.inc is from a different parent directory with a different WEBBASE setting. This wasn't something I could workaround when building from the new directory structure so as a short term cludge I now enter this directory twice, once with NEW_BUILD defined so the subdirs are skipped and once with DOCS set to null so only the directories are built and WEBBASE is set appropriately in each case.
This commit is contained in:
parent
db702ced6f
commit
80fabe9783
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=1553
2 changed files with 10 additions and 2 deletions
|
@ -1,6 +1,10 @@
|
|||
DOCS= index.sgml snapshots.sgml
|
||||
DOCS?= index.sgml snapshots.sgml
|
||||
|
||||
SUBDIR= 1.1 1.1.5 2.0 2.0.5A 2.0.5R 2.0A 2.1R 2.1.5R 2.1.6R 2.1.7R 2.2R
|
||||
SUBDIR+= 2.2.1R
|
||||
|
||||
.if defined $(NEW_BUILD)
|
||||
SUBDIR=
|
||||
.endif
|
||||
|
||||
.include "../web.mk"
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
DOCS= index.sgml snapshots.sgml
|
||||
DOCS?= index.sgml snapshots.sgml
|
||||
|
||||
SUBDIR= 1.1 1.1.5 2.0 2.0.5A 2.0.5R 2.0A 2.1R 2.1.5R 2.1.6R 2.1.7R 2.2R
|
||||
SUBDIR+= 2.2.1R
|
||||
|
||||
.if defined $(NEW_BUILD)
|
||||
SUBDIR=
|
||||
.endif
|
||||
|
||||
.include "../web.mk"
|
||||
|
|
Loading…
Reference in a new issue