Add "distclean" and "maintainer-clean" rules to the docbook directory
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 11 Aug 2011 02:41:39 +0000 (02:41 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 11 Aug 2011 02:41:39 +0000 (02:41 +0000)
Makefile.nmake.

Have "clean", "distclean", and "maintainer-clean" in the top-level
Makefile.nmake file clean out the docbook directory.

Add a "docbook" target to the top-level Makefile.nmake file.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38468 f5534014-38df-0310-8fa8-9805f1628bb7

Makefile.nmake
docbook/Makefile.nmake

index 4f5395478efca133b71e7a93cee86b7811e01361..345337e0592e6e32367df46d6e01790b56082b9e 100644 (file)
@@ -474,6 +474,8 @@ clean: clean-local
        $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean
        cd ../doc
        $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean
+       cd ../docbook
+       $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean
        cd ../help
        $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean
        cd ../packaging/nsis
@@ -520,6 +522,8 @@ distclean: distclean-local
        $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake distclean
        cd ../doc
        $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake distclean
+       cd ../docbook
+       $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake distclean
        cd ../help
        $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake distclean
        cd ../packaging/nsis
@@ -557,6 +561,8 @@ maintainer-clean: maintainer-clean-local
        $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake maintainer-clean
        cd ../doc
        $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake maintainer-clean
+       cd ../docbook
+       $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake maintainer-clean
        cd ../help
        $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake maintainer-clean
        cd ../packaging/nsis
@@ -678,6 +684,11 @@ doc::
        $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake
        cd ..
 
+docbook::
+       cd docbook
+       $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake
+       cd ..
+
 help::
        cd help
        $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake
index 2a00dc2a4739f3badb55ce4de00a9a4e3281cf0e..72ed930fb34b2f18ce0a2f0832fe01041c883f2f 100644 (file)
@@ -50,6 +50,10 @@ release_notes: release_notes.validated release_notes_x
 clean:
        rm -rf $(CLEANFILES) $(CLEANDIRS)
 
+distclean: clean
+
+maintainer-clean: distclean
+
 # -- All -------------------------------------------------------------------------------
 
 all_x: wsug.validated wsdg.validated release_notes.validated wsug_x wsdg_x release_notes_x