Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1ca78b6

Browse files
committed
Change the command lines to use a similar "phrasing" to that used in the
other documentation makefiles. This is probably not sufficient to run the conversion on Windows, but goes at least part way.
1 parent 7218202 commit 1ca78b6

1 file changed

Lines changed: 15 additions & 15 deletions

File tree

Doc/tools/sgmlconv/Makefile

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ TOPDIR=.
1010
TOOLSDIR=tools
1111

1212
SGMLRULES=../$(TOOLSDIR)/sgmlconv/make.rules
13-
# The 'inst' directory breaks the conversion, so skip it for now.
14-
SUBDIRS=api dist ext lib mac ref tut
13+
# The 'inst' and 'tut' directories break the conversion, so skip them for now.
14+
SUBDIRS=api dist ext lib mac ref
1515
SUBMAKE=$(MAKE) -f $(SGMLRULES) TOOLSDIR=../$(TOOLSDIR)
1616

1717
all: xml
@@ -21,47 +21,47 @@ all: xml
2121

2222
xml:
2323
for DIR in $(SUBDIRS) ; do \
24-
(cd $$DIR; $(SUBMAKE) xml) || exit $$? ; done
24+
(cd $$DIR && $(SUBMAKE) xml) || exit $$? ; done
2525

2626
esis:
2727
for DIR in $(SUBDIRS) ; do \
28-
(cd $$DIR; $(SUBMAKE) esis) || exit $$? ; done
28+
(cd $$DIR && $(SUBMAKE) esis) || exit $$? ; done
2929

3030
esis1:
3131
for DIR in $(SUBDIRS) ; do \
32-
(cd $$DIR; $(SUBMAKE) esis1) || exit $$? ; done
32+
(cd $$DIR && $(SUBMAKE) esis1) || exit $$? ; done
3333

3434
tarball: xml
3535
tar cf - tools/sgmlconv */*.xml | gzip -9 >xml-1.5.2b2.tgz
3636

3737
api:
38-
cd api; $(SUBMAKE)
38+
cd api && $(SUBMAKE)
3939

4040
dist:
41-
cd dist; $(SUBMAKE)
41+
cd dist && $(SUBMAKE)
4242

4343
ext:
44-
cd ext; $(SUBMAKE)
44+
cd ext && $(SUBMAKE)
4545

4646
inst:
47-
cd inst; $(SUBMAKE)
47+
cd inst && $(SUBMAKE)
4848

4949
lib:
50-
cd lib; $(SUBMAKE)
50+
cd lib && $(SUBMAKE)
5151

5252
mac:
53-
cd mac; $(SUBMAKE)
53+
cd mac && $(SUBMAKE)
5454

5555
ref:
56-
cd ref; $(SUBMAKE)
56+
cd ref && $(SUBMAKE)
5757

5858
tut:
59-
cd tut; $(SUBMAKE)
59+
cd tut && $(SUBMAKE)
6060

6161
clean:
6262
for DIR in $(SUBDIRS) ; do \
63-
(cd $$DIR; $(SUBMAKE) clean) ; done
63+
(cd $$DIR && $(SUBMAKE) clean) || exit $$? ; done
6464

6565
clobber:
6666
for DIR in $(SUBDIRS) ; do \
67-
(cd $$DIR; $(SUBMAKE) clobber) ; done
67+
(cd $$DIR && $(SUBMAKE) clobber) || exit $$? ; done

0 commit comments

Comments
 (0)