@@ -11,6 +11,7 @@ TOOLSDIR=$(TOPDIR)/tools
1111
1212SGMLRULES =../$(TOOLSDIR ) /sgmlconv/make.rules
1313SUBDIRS =api ext lib mac ref tut
14+ SUBMAKE =$(MAKE ) -f $(SGMLRULES ) TOOLSDIR=../$(TOOLSDIR )
1415
1516all : sgml
1617
@@ -19,45 +20,41 @@ all: sgml
1920
2021sgml :
2122 for DIR in $( SUBDIRS) ; do \
22- (cd $$ DIR; \
23- $(MAKE ) -f $(SGMLRULES ) TOOLSDIR=../$(TOOLSDIR ) sgml) || exit $$? ; \
24- done
23+ (cd $$ DIR; $( SUBMAKE) sgml) || exit $$? ; done
2524
2625xml :
2726 for DIR in $( SUBDIRS) ; do \
28- (cd $$ DIR; \
29- $(MAKE ) -f $(SGMLRULES ) TOOLSDIR=../$(TOOLSDIR ) xml) || exit $$? ; \
30- done
27+ (cd $$ DIR; $( SUBMAKE) xml) || exit $$? ; done
28+
29+ esis :
30+ for DIR in $( SUBDIRS) ; do \
31+ (cd $$ DIR; $( SUBMAKE) esis) || exit $$? ; done
3132
3233tarball : sgml
33- tar cf - sgml tools/sgmlconv * /* .sgml | gzip -9 > sgml-1.5.2b1 .tgz
34+ tar cf - sgml tools/sgmlconv * /* .sgml | gzip -9 > sgml-1.5.2b2 .tgz
3435
3536api :
36- cd api; $(MAKE ) -f $( SGMLRULES ) TOOLSDIR=../ $( TOOLSDIR )
37+ cd api; $(SUBMAKE )
3738
3839ext :
39- cd ext; $(MAKE ) -f $( SGMLRULES ) TOOLSDIR=../ $( TOOLSDIR )
40+ cd ext; $(SUBMAKE )
4041
4142lib :
42- cd lib; $(MAKE ) -f $( SGMLRULES ) TOOLSDIR=../ $( TOOLSDIR )
43+ cd lib; $(SUBMAKE )
4344
4445mac :
45- cd mac; $(MAKE ) -f $( SGMLRULES ) TOOLSDIR=../ $( TOOLSDIR )
46+ cd mac; $(SUBMAKE )
4647
4748ref :
48- cd ref; $(MAKE ) -f $( SGMLRULES ) TOOLSDIR=../ $( TOOLSDIR )
49+ cd ref; $(SUBMAKE )
4950
5051tut :
51- cd tut; $(MAKE ) -f $( SGMLRULES ) TOOLSDIR=../ $( TOOLSDIR )
52+ cd tut; $(SUBMAKE )
5253
5354clean :
5455 for DIR in $( SUBDIRS) ; do \
55- (cd $$ DIR; \
56- $(MAKE ) -f $(SGMLRULES ) TOOLSDIR=../$(TOOLSDIR ) clean) \
57- done
56+ (cd $$ DIR; $( SUBMAKE) clean) ; done
5857
5958clobber :
6059 for DIR in $( SUBDIRS) ; do \
61- (cd $$ DIR; \
62- $(MAKE ) -f $(SGMLRULES ) TOOLSDIR=../$(TOOLSDIR ) clobber) \
63- done
60+ (cd $$ DIR; $( SUBMAKE) clobber) ; done
0 commit comments