Version 1.2.3.
[hivex.git] / sh / Makefile.am
index 625567d..0898370 100644 (file)
@@ -32,10 +32,10 @@ noinst_SCRIPTS = example1 example2 example3 example4 example5 example6
 
 hivexsh_SOURCES = \
   hivexsh.c \
-  hivex.h \
-  byte_conversions.h
+  ../lib/hivex.h \
+  ../lib/byte_conversions.h
 
-hivexsh_LDADD = ../lib/libhivex.la $(LIBREADLINE)
+hivexsh_LDADD = ../lib/libhivex.la ../gnulib/lib/libgnu.la $(LIBREADLINE)
 hivexsh_CFLAGS = \
   -I$(top_srcdir)/gnulib/lib \
   -I$(top_srcdir)/lib \
@@ -70,7 +70,7 @@ $(top_builddir)/html/hivexget.1.html: hivexget.pod
          --css 'pod.css' \
          --htmldir html \
          --outfile html/hivexget.1.html \
-         lib/hivexget.pod
+         sh/hivexget.pod
 
 $(top_builddir)/html/hivexsh.1.html: hivexsh.pod
        mkdir -p $(top_builddir)/html
@@ -78,4 +78,6 @@ $(top_builddir)/html/hivexsh.1.html: hivexsh.pod
          --css 'pod.css' \
          --htmldir html \
          --outfile html/hivexsh.1.html \
-         lib/hivexsh.pod
+         sh/hivexsh.pod
+
+CLEANFILES = $(man_MANS)