mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
Remove man pages and other pages which 'make clean' did not remove before. To evaluate which pages could be removed, I did a full build and check, and then ran 'make clean' followed by 'git clean -xdf'. By examining the output of the git clean command I could see which files were being missed. Files that are _not_ removed by make clean or make distclean: - generator-built files - Makefile, Makefile.in, .deps, .depend - any ./configure output files (maybe they should be?)
111 lines
2.5 KiB
Makefile
111 lines
2.5 KiB
Makefile
# libguestfs virt-df
|
|
# Copyright (C) 2010-2012 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
|
|
# the Free Software Foundation; either version 2 of the License, or
|
|
# (at your option) any later version.
|
|
#
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program; if not, write to the Free Software
|
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
include $(top_srcdir)/subdir-rules.mk
|
|
|
|
EXTRA_DIST = \
|
|
README \
|
|
test-virt-df.sh \
|
|
test-virt-df-guests.sh \
|
|
virt-df.pod
|
|
|
|
CLEANFILES = \
|
|
stamp-virt-df.pod \
|
|
virt-df.1
|
|
|
|
bin_PROGRAMS = virt-df
|
|
|
|
SHARED_SOURCE_FILES = \
|
|
../fish/config.c \
|
|
../fish/domain.c \
|
|
../fish/inspect.c \
|
|
../fish/keys.c \
|
|
../fish/options.h \
|
|
../fish/options.c \
|
|
../fish/uri.h \
|
|
../fish/uri.c
|
|
|
|
virt_df_SOURCES = \
|
|
$(SHARED_SOURCE_FILES) \
|
|
virt-df.h \
|
|
domains.c \
|
|
domains.h \
|
|
df.c \
|
|
estimate-max-threads.c \
|
|
estimate-max-threads.h \
|
|
main.c \
|
|
output.c \
|
|
parallel.c \
|
|
parallel.h
|
|
|
|
virt_df_CPPFLAGS = \
|
|
-DGUESTFS_WARN_DEPRECATED=1 \
|
|
-DGUESTFS_PRIVATE=1 \
|
|
-DLOCALEBASEDIR=\""$(datadir)/locale"\" \
|
|
-I$(top_srcdir)/src -I$(top_builddir)/src \
|
|
-I$(top_srcdir)/fish \
|
|
-I$(srcdir)/../gnulib/lib -I../gnulib/lib
|
|
|
|
virt_df_CFLAGS = \
|
|
-pthread \
|
|
$(WARN_CFLAGS) $(WERROR_CFLAGS) \
|
|
$(LIBCONFIG_CFLAGS) \
|
|
$(LIBXML2_CFLAGS) \
|
|
$(LIBVIRT_CFLAGS)
|
|
|
|
virt_df_LDADD = \
|
|
$(LIBCONFIG_LIBS) \
|
|
$(top_builddir)/src/libutils.la \
|
|
$(top_builddir)/src/libguestfs.la \
|
|
$(LIBXML2_LIBS) \
|
|
$(LIBVIRT_LIBS) \
|
|
$(LTLIBINTL) \
|
|
../gnulib/lib/libgnu.la \
|
|
-lm
|
|
|
|
# Manual pages and HTML files for the website.
|
|
man_MANS = virt-df.1
|
|
noinst_DATA = $(top_builddir)/website/virt-df.1.html
|
|
|
|
virt-df.1 $(top_builddir)/website/virt-df.1.html: stamp-virt-df.pod
|
|
|
|
stamp-virt-df.pod: virt-df.pod
|
|
$(PODWRAPPER) \
|
|
--man virt-df.1 \
|
|
--html $(top_builddir)/website/virt-df.1.html \
|
|
--license GPLv2+ \
|
|
$<
|
|
touch $@
|
|
|
|
# Tests.
|
|
|
|
TESTS_ENVIRONMENT = $(top_builddir)/run --test
|
|
|
|
TESTS =
|
|
|
|
if ENABLE_APPLIANCE
|
|
TESTS += \
|
|
test-virt-df.sh \
|
|
test-virt-df-guests.sh
|
|
endif ENABLE_APPLIANCE
|
|
|
|
check-valgrind:
|
|
$(MAKE) VG="$(top_builddir)/run @VG@" check
|
|
|
|
check-valgrind-local-guests:
|
|
$(top_builddir)/run --test @VG@ ./virt-df -c "$(libvirt_ro_uri)"
|