Commit [a8a187] Maximize Restore History

diags: Keep man page source in git tree, not compressed file

Presently we are keeping compressed man page in source code which
is not good.This patch fixes this issue by keeping man page source
in git tree.

Also rename doc dir as man so that we follow consistent naming across
directories.

Note that there is no change in man page content.

Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>

Vasant Hegde Vasant Hegde 2014-06-25

added diags/man/diag_encl.8
added diags/man/encl_led.8
removed diags/doc
removed diags/doc/diag_encl.8.gz
removed diags/doc/encl_led.8.gz
changed diags/Makefile
copied diags/doc/Makefile -> diags/man/Makefile
diags/man/diag_encl.8 Diff Switch to side-by-side view
Loading...
diags/man/encl_led.8 Diff Switch to side-by-side view
Loading...
diags/doc
File was removed.
diags/doc/diag_encl.8.gz
File was removed.
diags/doc/encl_led.8.gz
File was removed.
diags/Makefile Diff Switch to side-by-side view
Loading...
diags/doc/Makefile to diags/man/Makefile
--- a/diags/doc/Makefile
+++ b/diags/man/Makefile
@@ -6,13 +6,13 @@
 
 MANPAGES = diag_encl.8.gz encl_led.8.gz
 
-DOXYGEN_CFG = doxygen.config
+all: $(MANPAGES)
 
-all:
+%.8.gz: %.8
+	gzip -c $< > $@
 
 install: all
 	@$(call install_man,$(MANPAGES),$(DESTDIR))
 
 uninstall:
 	@$(call uninstall_man,$(MANPAGES),$(DESTDIR))
-