Rename hivex/ -> lib/
authorRichard Jones <rjones@redhat.com>
Wed, 24 Feb 2010 17:57:01 +0000 (17:57 +0000)
committerRichard Jones <rjones@redhat.com>
Wed, 24 Feb 2010 18:26:55 +0000 (18:26 +0000)
32 files changed:
.gitignore
Makefile.am
README
configure.ac
generator/generator.ml
images/Makefile.am
lib/Makefile.am [moved from hivex/Makefile.am with 97% similarity]
lib/byte_conversions.h [moved from hivex/byte_conversions.h with 100% similarity]
lib/example1 [moved from hivex/example1 with 100% similarity]
lib/example2 [moved from hivex/example2 with 100% similarity]
lib/example3 [moved from hivex/example3 with 100% similarity]
lib/example4 [moved from hivex/example4 with 100% similarity]
lib/example5 [moved from hivex/example5 with 100% similarity]
lib/example6 [moved from hivex/example6 with 100% similarity]
lib/gettext.h [moved from hivex/gettext.h with 100% similarity]
lib/hivex.c [moved from hivex/hivex.c with 100% similarity]
lib/hivexget [moved from hivex/hivexget with 100% similarity]
lib/hivexget.pod [moved from hivex/hivexget.pod with 100% similarity]
lib/hivexml.c [moved from hivex/hivexml.c with 100% similarity]
lib/hivexml.pod [moved from hivex/hivexml.pod with 100% similarity]
lib/hivexsh.c [moved from hivex/hivexsh.c with 100% similarity]
lib/hivexsh.pod [moved from hivex/hivexsh.pod with 100% similarity]
lib/tools/Makefile.am [moved from hivex/tools/Makefile.am with 100% similarity]
lib/tools/clearheaderfields.ml [moved from hivex/tools/clearheaderfields.ml with 100% similarity]
lib/tools/counter.ml [moved from hivex/tools/counter.ml with 100% similarity]
lib/tools/counter.mli [moved from hivex/tools/counter.mli with 100% similarity]
lib/tools/fillemptyhbins.ml [moved from hivex/tools/fillemptyhbins.ml with 100% similarity]
lib/tools/truncatefile.ml [moved from hivex/tools/truncatefile.ml with 100% similarity]
lib/tools/visualizer.ml [moved from hivex/tools/visualizer.ml with 100% similarity]
lib/tools/visualizer_NT_time.ml [moved from hivex/tools/visualizer_NT_time.ml with 100% similarity]
lib/tools/visualizer_utils.ml [moved from hivex/tools/visualizer_utils.ml with 100% similarity]
po/POTFILES.in

index 6918ed2..1806916 100644 (file)
@@ -25,13 +25,6 @@ generator/.pod2text.data
 generator/stamp-generator
 hivex.pc
 hivex-*.tar.gz
-hivex/*.1
-hivex/*.3
-hivex/hivex.h
-hivex/hivex.pod
-hivex/hivexsh
-hivex/hivexml
-hivex/tools/*.opt
 html/hivex.3.html
 html/hivexget.1.html
 html/hivexml.1.html
@@ -40,6 +33,13 @@ images/large
 images/mklarge
 install-sh
 *.la
+lib/*.1
+lib/*.3
+lib/hivex.h
+lib/hivex.pod
+lib/hivexsh
+lib/hivexml
+lib/tools/*.opt
 .libs
 libtool
 *.lo
index fc57ef4..b345ea8 100644 (file)
@@ -17,7 +17,7 @@
 
 ACLOCAL_AMFLAGS = -I m4
 
-SUBDIRS = gnulib/lib hivex images gnulib/tests po
+SUBDIRS = gnulib/lib lib images gnulib/tests po
 
 EXTRA_DIST = hivex.pc hivex.pc.in README LICENSE
 
diff --git a/README b/README
index 3f7f018..0aaec9f 100644 (file)
--- a/README
+++ b/README
@@ -22,7 +22,7 @@ This library was derived from several sources:
    versions of Samba, so you have to go back in the source repository
    to find it (GPLv2+)
  . http://amnesia.gtisc.gatech.edu/~moyix/suzibandit.ltd.uk/MSc/
- . reverse engineering the format (see hivex/tools/visualizer.ml)
+ . reverse engineering the format (see lib/tools/visualizer.ml)
 
 Like NTREG, this library only attempts to read Windows NT registry
 files (ie. not Windows 3.1 or Windows 95/98/ME).  See the link above
index 0bd511f..e2d3d08 100644 (file)
@@ -398,9 +398,9 @@ AC_CONFIG_FILES([Makefile
                  gnulib/lib/Makefile
                  gnulib/tests/Makefile
                  hivex.pc
-                 hivex/Makefile
-                 hivex/tools/Makefile
                  images/Makefile
+                 lib/Makefile
+                 lib/tools/Makefile
                  po/Makefile.in])
 AC_OUTPUT
 
index 89ba7d7..7a326db 100755 (executable)
@@ -1353,8 +1353,8 @@ Run it from the top source directory using the command
 
   check_functions ();
 
-  output_to "hivex/hivex.h" generate_c_header;
-  output_to "hivex/hivex.pod" generate_c_pod;
+  output_to "lib/hivex.h" generate_c_header;
+  output_to "lib/hivex.pod" generate_c_pod;
 
   (* Always generate this file last, and unconditionally.  It's used
    * by the Makefile to know when we must re-run the generator.
index 9a32c87..b9f9619 100644 (file)
@@ -23,9 +23,9 @@ EXTRA_DIST = minimal
 noinst_PROGRAMS = mklarge
 mklarge_SOURCES = mklarge.c
 mklarge_CFLAGS = \
-       -I$(srcdir)/../hivex \
+       -I$(srcdir)/../lib \
        $(WARN_CFLAGS) $(WERROR_CFLAGS)
-mklarge_LDADD = ../hivex/libhivex.la
+mklarge_LDADD = ../lib/libhivex.la
 
 noinst_DATA = large
 
similarity index 97%
rename from hivex/Makefile.am
rename to lib/Makefile.am
index acd41cf..36e7f74 100644 (file)
@@ -115,7 +115,7 @@ $(top_builddir)/html/hivex.3.html: hivex.pod
          --css 'pod.css' \
          --htmldir html \
          --outfile html/hivex.3.html \
-         hivex/hivex.pod
+         lib/hivex.pod
 
 $(top_builddir)/html/hivexml.1.html: hivexml.pod
        mkdir -p $(top_builddir)/html
@@ -123,7 +123,7 @@ $(top_builddir)/html/hivexml.1.html: hivexml.pod
          --css 'pod.css' \
          --htmldir html \
          --outfile html/hivexml.1.html \
-         hivex/hivexml.pod
+         lib/hivexml.pod
 
 $(top_builddir)/html/hivexget.1.html: hivexget.pod
        mkdir -p $(top_builddir)/html
@@ -131,7 +131,7 @@ $(top_builddir)/html/hivexget.1.html: hivexget.pod
          --css 'pod.css' \
          --htmldir html \
          --outfile html/hivexget.1.html \
-         hivex/hivexget.pod
+         lib/hivexget.pod
 
 $(top_builddir)/html/hivexsh.1.html: hivexsh.pod
        mkdir -p $(top_builddir)/html
@@ -139,4 +139,4 @@ $(top_builddir)/html/hivexsh.1.html: hivexsh.pod
          --css 'pod.css' \
          --htmldir html \
          --outfile html/hivexsh.1.html \
-         hivex/hivexsh.pod
+         lib/hivexsh.pod
similarity index 100%
rename from hivex/example1
rename to lib/example1
similarity index 100%
rename from hivex/example2
rename to lib/example2
similarity index 100%
rename from hivex/example3
rename to lib/example3
similarity index 100%
rename from hivex/example4
rename to lib/example4
similarity index 100%
rename from hivex/example5
rename to lib/example5
similarity index 100%
rename from hivex/example6
rename to lib/example6
similarity index 100%
rename from hivex/gettext.h
rename to lib/gettext.h
similarity index 100%
rename from hivex/hivex.c
rename to lib/hivex.c
similarity index 100%
rename from hivex/hivexget
rename to lib/hivexget
similarity index 100%
rename from hivex/hivexget.pod
rename to lib/hivexget.pod
similarity index 100%
rename from hivex/hivexml.c
rename to lib/hivexml.c
similarity index 100%
rename from hivex/hivexml.pod
rename to lib/hivexml.pod
similarity index 100%
rename from hivex/hivexsh.c
rename to lib/hivexsh.c
similarity index 100%
rename from hivex/hivexsh.pod
rename to lib/hivexsh.pod
similarity index 100%
rename from hivex/tools/counter.ml
rename to lib/tools/counter.ml
index 306da64..efba1a0 100644 (file)
@@ -1,4 +1,4 @@
-hivex/hivex.c
-hivex/hivexml.c
-hivex/hivexsh.c
 images/mklarge.c
+lib/hivex.c
+lib/hivexml.c
+lib/hivexsh.c