From dfe95c96bb55c9bc34cc9950d0d02899fbcb20cf Mon Sep 17 00:00:00 2001 From: Christophe Grenier Date: Sat, 11 Sep 2010 18:04:57 +0200 Subject: [PATCH] Add fidentify man page, fix the section number of testdisk and photorec --- Makefile.am | 6 +++--- configure.ac | 2 +- doc_src/fidentify.8.in | 18 ++++++++++++++++++ doc_src/photorec.8.in | 6 +++--- doc_src/testdisk.8.in | 6 +++--- 5 files changed, 28 insertions(+), 10 deletions(-) create mode 100644 doc_src/fidentify.8.in diff --git a/Makefile.am b/Makefile.am index e77fb1f8..16cba465 100644 --- a/Makefile.am +++ b/Makefile.am @@ -3,7 +3,7 @@ SUBDIRS = src EXTRA_DIST = AUTHORS COPYING ChangeLog INFO INSTALL NEWS README THANKS compile.sh progsreiserfs-journal.patch \ darwin/readme_mac_powerpc.txt darwin/readme_mac_intel.txt \ - doc_src/testdisk.8.in doc_src/photorec.8.in doc \ + doc_src/testdisk.8.in doc_src/photorec.8.in doc_src/fidentify.8.in doc/online.html \ dos/readme.txt \ ico/photorec.ico ico/testdisk.ico \ linux/testdisk.spec.in \ @@ -12,13 +12,13 @@ EXTRA_DIST = AUTHORS COPYING ChangeLog INFO INSTALL NEWS README THANKS compile.s AUTOMAKE_OPTIONS = gnits -man_MANS = doc_src/testdisk.8 doc_src/photorec.8 +man_MANS = doc_src/testdisk.8 doc_src/photorec.8 doc_src/fidentify.8 install-data-hook: $(mkinstalldirs) $(DESTDIR)$(datadir)/doc/$(PACKAGE)-$(VERSION) $(mkinstalldirs) $(DESTDIR)$(datadir)/doc/$(PACKAGE)-$(VERSION)/html $(INSTALL_DATA) $(top_srcdir)/AUTHORS $(top_srcdir)/ChangeLog $(top_srcdir)/NEWS $(top_srcdir)/README $(top_srcdir)/THANKS $(DESTDIR)$(datadir)/doc/$(PACKAGE)-$(VERSION)/ - $(INSTALL_DATA) $(top_srcdir)/doc/* $(DESTDIR)$(datadir)/doc/$(PACKAGE)-$(VERSION)/html +# $(INSTALL_DATA) $(top_srcdir)/doc/* $(DESTDIR)$(datadir)/doc/$(PACKAGE)-$(VERSION)/html uninstall-hook: rm -rf $(DESTDIR)$(datadir)/doc/$(PACKAGE)-$(VERSION) diff --git a/configure.ac b/configure.ac index 18d83683..c7920635 100644 --- a/configure.ac +++ b/configure.ac @@ -706,5 +706,5 @@ AC_SUBST(photorec_LDADD) AC_SUBST(photorecf_LDADD) AC_SUBST(qphotorec_LDADD) AC_SUBST(fidentify_LDADD) -AC_CONFIG_FILES([Makefile src/Makefile linux/testdisk.spec doc_src/testdisk.8 doc_src/photorec.8]) +AC_CONFIG_FILES([Makefile src/Makefile linux/testdisk.spec doc_src/testdisk.8 doc_src/photorec.8 doc_src/fidentify.8]) AC_OUTPUT diff --git a/doc_src/fidentify.8.in b/doc_src/fidentify.8.in new file mode 100644 index 00000000..9e5d9bc9 --- /dev/null +++ b/doc_src/fidentify.8.in @@ -0,0 +1,18 @@ +.\" May be distributed under the GNU General Public License +.TH FIDENTIFY 8 @TESTDISKDATE@ "Administration Tools" +.SH NAME +fidentify \- Recover lost files from harddisk, digital camera and cdrom +.SH SYNOPSIS +.BI "fidentify [directory] +.sp +.SH DESCRIPTION + \fBfidentify\fP identify the file type, the "extension", by using thr same database than PhotoRec. +.SH SEE ALSO +.BR photorec(8), +.BR +.SH AUTHOR +PhotoRec @VERSION@, Data Recovery Utility, @TESTDISKDATE@ +.br +Christophe GRENIER +.br +http://www.cgsecurity.org diff --git a/doc_src/photorec.8.in b/doc_src/photorec.8.in index f9edc861..19e2ef19 100644 --- a/doc_src/photorec.8.in +++ b/doc_src/photorec.8.in @@ -1,5 +1,5 @@ .\" May be distributed under the GNU General Public License -.TH PHOTOREC 1 @TESTDISKDATE@ "Administration Tools" +.TH PHOTOREC 8 @TESTDISKDATE@ "Administration Tools" .SH NAME photorec \- Recover lost files from harddisk, digital camera and cdrom .SH SYNOPSIS @@ -16,8 +16,8 @@ create a photorec.log file .B /debug add debug information .SH SEE ALSO -.BR testdisk(1), -.BR fdisk (1). +.BR testdisk(8), +.BR fdisk (8). .BR .SH AUTHOR PhotoRec @VERSION@, Data Recovery Utility, @TESTDISKDATE@ diff --git a/doc_src/testdisk.8.in b/doc_src/testdisk.8.in index 39d9add3..b055479e 100644 --- a/doc_src/testdisk.8.in +++ b/doc_src/testdisk.8.in @@ -1,5 +1,5 @@ .\" May be distributed under the GNU General Public License -.TH TESTDISK 1 @TESTDISKDATE@ "Administration Tools" +.TH TESTDISK 8 @TESTDISKDATE@ "Administration Tools" .SH NAME testdisk \- Scan and repair disk partitions .SH SYNOPSIS @@ -52,8 +52,8 @@ dump raw sectors .B /list display current partitions .SH SEE ALSO -.BR fdisk (1), -.BR photorec(1). +.BR fdisk (8), +.BR photorec(8). .BR .SH AUTHOR TestDisk @VERSION@, Data Recovery Utility, @TESTDISKDATE@