Add section "Notes on disk format" to the manual.
[virt-bmap.git] / Makefile.am
index b957c0d..6a40691 100644 (file)
@@ -21,6 +21,7 @@ bin_SCRIPTS = virt-bmap
 
 lib_LTLIBRARIES = \
        virtbmapexaminer.la
+
 virtbmapexaminer_la_CPPFLAGS = \
        -I$(srcdir)
 virtbmapexaminer_la_CFLAGS = \
@@ -39,3 +40,29 @@ virtbmapexaminer_la_SOURCES = \
        ranges.h \
        visit.c \
        visit.h
+
+nbdkitplugin_LTLIBRARIES = \
+       bmaplogger.la
+
+bmaplogger_la_CPPFLAGS = \
+       -I$(srcdir)
+bmaplogger_la_CFLAGS = \
+       -Wall \
+       -pthread
+bmaplogger_la_LDFLAGS = \
+       -module -avoid-version -shared
+bmaplogger_la_SOURCES = \
+       cleanups.c \
+       cleanups.h \
+       logger.c \
+       ranges.cpp \
+       ranges.h
+
+man_MANS = virt-bmap.1
+
+virt-bmap.1: virt-bmap.pod
+       $(POD2MAN) \
+           -c "Virtualization Support" \
+           --release "$(PACKAGE)-$(VERSION)" \
+           $< > $@-t
+       mv $@-t $@