git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Whitelist the loop kernel module
[libguestfs.git]
/
fuse
/
Makefile.am
diff --git
a/fuse/Makefile.am
b/fuse/Makefile.am
index
dc00823
..
1bfc375
100644
(file)
--- a/
fuse/Makefile.am
+++ b/
fuse/Makefile.am
@@
-15,7
+15,9
@@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-EXTRA_DIST = guestmount.pod
+include $(top_srcdir)/subdir-rules.mk
+
+EXTRA_DIST = guestmount.pod test-fuse.sh
if HAVE_FUSE
if HAVE_FUSE
@@
-24,12
+26,14
@@
bin_PROGRAMS = guestmount
guestmount_SOURCES = \
dircache.c \
dircache.h \
guestmount_SOURCES = \
dircache.c \
dircache.h \
- guestmount.c
+ guestmount.c \
+ guestmount.h
guestmount_CFLAGS = \
-I$(top_srcdir)/src -I$(top_builddir)/src \
-I$(srcdir)/../gnulib/lib -I../gnulib/lib \
-DGUESTFS_DEFAULT_PATH='"$(libdir)/guestfs"' \
guestmount_CFLAGS = \
-I$(top_srcdir)/src -I$(top_builddir)/src \
-I$(srcdir)/../gnulib/lib -I../gnulib/lib \
-DGUESTFS_DEFAULT_PATH='"$(libdir)/guestfs"' \
+ -DLOCALEBASEDIR=\""$(datadir)/locale"\" \
$(FUSE_CFLAGS) \
$(WARN_CFLAGS) $(WERROR_CFLAGS)
$(FUSE_CFLAGS) \
$(WARN_CFLAGS) $(WERROR_CFLAGS)
@@
-38,6
+42,8
@@
guestmount_LDADD = \
$(top_builddir)/src/libguestfs.la \
../gnulib/lib/libgnu.la
$(top_builddir)/src/libguestfs.la \
../gnulib/lib/libgnu.la
+# Documentation.
+
man_MANS = guestmount.1
guestmount.1: guestmount.pod
man_MANS = guestmount.1
guestmount.1: guestmount.pod
@@
-59,4
+65,10
@@
$(top_builddir)/html/guestmount.1.html: guestmount.pod
--outfile html/guestmount.1.html \
fuse/guestmount.pod
--outfile html/guestmount.1.html \
fuse/guestmount.pod
+# Tests.
+
+TESTS = test-fuse.sh
+TESTS_ENVIRONMENT = \
+ top_builddir=..
+
endif
endif