]> git.hungrycats.org Git - linux/commitdiff
[PATCH] docbook: Call docbook makefile with -f [9/9]
authorSam Ravnborg <sam@ravnborg.org>
Thu, 25 Jul 2002 02:34:53 +0000 (19:34 -0700)
committerLinus Torvalds <torvalds@home.transmeta.com>
Thu, 25 Jul 2002 02:34:53 +0000 (19:34 -0700)
The rewritten makefile for DocBook requires that working directory
is $(TOPDIR) therefore use -f Documentation/DocBook/Makefile to
invoke the docbook makefile.

Makefile

index c4241aac94730d7f03f02922d1293e149214bb85..c9db249a22a0ebccab81a39748c8fbddc51c26cd 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -650,7 +650,7 @@ clean:      archclean
                -name .\*.tmp -o -name .\*.d \) -type f -print \
                | grep -v lxdialog/ | xargs rm -f
        @rm -f $(CLEAN_FILES)
-       @$(MAKE) -C Documentation/DocBook clean
+       @$(MAKE) -f Documentation/DocBook/Makefile clean
 
 mrproper: clean archmrproper
        @echo 'Making mrproper'
@@ -659,7 +659,7 @@ mrproper: clean archmrproper
                -type f -print | xargs rm -f
        @rm -f $(MRPROPER_FILES)
        @rm -rf $(MRPROPER_DIRS)
-       @$(MAKE) -C Documentation/DocBook mrproper
+       @$(MAKE) -f Documentation/DocBook/Makefile mrproper
 
 distclean: mrproper
        @echo 'Making distclean'
@@ -732,10 +732,8 @@ help:
 
 # Documentation targets
 # ---------------------------------------------------------------------------
-
-sgmldocs psdocs pdfdocs htmldocs:
-       @$(MAKE) -C Documentation/DocBook $@
-
+sgmldocs psdocs pdfdocs htmldocs: scripts
+       @$(MAKE) -f Documentation/DocBook/Makefile $@
 
 # Scripts to check various things for consistency
 # ---------------------------------------------------------------------------