Remove bogus reference to src/ directory which no longer exists.
[hivex.git] / hivex / Makefile.am
index 987cfc9..01501aa 100644 (file)
@@ -1,5 +1,5 @@
-# libguestfs
-# Copyright (C) 2009 Red Hat Inc.
+# hivex
+# Copyright (C) 2009-2010 Red Hat Inc.
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
-SUBDIRS = tools
-
-EXTRA_DIST = hivex.pod hivexml.pod hivexget.pod hivexsh.pod LICENSE
+SUBDIRS = t tools
+
+EXTRA_DIST = \
+       hivex.pod \
+       hivexml.pod \
+       hivexget.pod \
+       hivexget \
+       hivexsh.pod \
+       example1 \
+       example2 \
+       example3 \
+       example4 \
+       example5 \
+       example6
 
 lib_LTLIBRARIES = libhivex.la
 
 libhivex_la_SOURCES = \
   hivex.c \
   hivex.h \
-  byte_conversions.h
+  byte_conversions.h \
+  gettext.h
 
 libhivex_la_LDFLAGS = -version-info 0:0:0 $(LTLIBINTL) $(LTLIBTHREAD)
 libhivex_la_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS)
@@ -32,14 +44,13 @@ libhivex_la_CPPFLAGS = -I$(top_srcdir)/gnulib/lib
 
 bin_PROGRAMS = hivexml hivexsh
 bin_SCRIPTS = hivexget
-noinst_SCRIPTS = example1 example2 example3
+noinst_SCRIPTS = example1 example2 example3 example4 example5 example6
 
 hivexml_SOURCES = \
   hivexml.c
 
 hivexml_LDADD = libhivex.la $(LIBXML2_LIBS) ../gnulib/lib/libgnu.la
 hivexml_CFLAGS = \
-  -I$(top_srcdir)/src \
   -DLOCALEBASEDIR=\""$(datadir)/locale"\" \
   $(LIBXML2_CFLAGS) \
   $(WARN_CFLAGS) $(WERROR_CFLAGS)
@@ -52,10 +63,11 @@ hivexsh_SOURCES = \
 hivexsh_LDADD = libhivex.la ../gnulib/lib/libgnu.la  $(LIBREADLINE)
 hivexsh_CFLAGS = \
   -I$(top_srcdir)/gnulib/lib \
-  -I$(top_srcdir)/src \
   -DLOCALEBASEDIR=\""$(datadir)/locale"\" \
   $(WARN_CFLAGS) $(WERROR_CFLAGS)
 
+include_HEADERS = hivex.h
+
 man_MANS = hivex.3 hivexml.1 hivexget.1 hivexsh.1
 
 hivex.3: hivex.pod