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

Skip to content

Commit a50a1df

Browse files
committed
Added clean and clobber targets.
1 parent 54bad44 commit a50a1df

2 files changed

Lines changed: 19 additions & 0 deletions

File tree

Doc/tools/sgmlconv/Makefile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,15 @@ xml:
2727
(cd $$DIR; \
2828
$(MAKE) -f $(SGMLRULES) TOOLSDIR=../$(TOOLSDIR) xml) \
2929
done
30+
31+
clean:
32+
for DIR in $(SUBDIRS) ; do \
33+
(cd $$DIR; \
34+
$(MAKE) -f $(SGMLRULES) TOOLSDIR=../$(TOOLSDIR) clean) \
35+
done
36+
37+
clobber:
38+
for DIR in $(SUBDIRS) ; do \
39+
(cd $$DIR; \
40+
$(MAKE) -f $(SGMLRULES) TOOLSDIR=../$(TOOLSDIR) clobber) \
41+
done

Doc/tools/sgmlconv/make.rules

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,10 @@ $(XMLTARGETS): $(ESIS2ML) $(FIXGES)
3535

3636
.esis.xml:
3737
$(ESIS2ML) --xml $< | $(FIXGES) > $@
38+
39+
40+
clean:
41+
rm -f *.esis
42+
43+
clobber: clean
44+
rm -f *.sgml *.xml

0 commit comments

Comments
 (0)