regedit: Fix syntax for deleting registry keys (RHBZ#737944).
[hivex.git] / Makefile.am
1 # hivex
2 # Copyright (C) 2009-2011 Red Hat Inc.
3 #
4 # This program is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 2 of the License, or
7 # (at your option) any later version.
8 #
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 # GNU General Public License for more details.
13 #
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17
18 ACLOCAL_AMFLAGS = -I m4
19
20 # Work around broken libtool.
21 export to_tool_file_cmd=func_convert_file_noop
22
23 SUBDIRS = gnulib/lib generator lib images gnulib/tests xml po
24
25 if HAVE_HIVEXSH
26 SUBDIRS += sh
27 endif
28
29 if HAVE_OCAML
30 SUBDIRS += ocaml
31 endif
32
33 if HAVE_PERL
34 SUBDIRS += perl regedit
35 endif
36
37 if HAVE_PYTHON
38 SUBDIRS += python
39 endif
40
41 if HAVE_RUBY
42 SUBDIRS += ruby
43 endif
44
45 EXTRA_DIST = hivex.pc hivex.pc.in README LICENSE
46
47 # Generate the ChangeLog automatically from the gitlog.
48 dist-hook:
49         $(top_srcdir)/build-aux/gitlog-to-changelog > ChangeLog
50         cp ChangeLog $(distdir)/ChangeLog
51
52 # Pkgconfig.
53 pkgconfigdir = $(libdir)/pkgconfig
54 pkgconfig_DATA = hivex.pc
55
56 # Maintainer website update.
57 HTMLFILES = \
58         html/hivex.3.html \
59         html/hivexget.1.html \
60         html/hivexml.1.html \
61         html/hivexregedit.1.html \
62         html/hivexsh.1.html
63
64 WEBSITEDIR = $(HOME)/d/redhat/websites/libguestfs
65
66 website: $(HTMLFILES)
67         cp $(HTMLFILES) $(WEBSITEDIR)
68
69 CLEANFILES = $(HTMLFILES) pod2*.tmp