Package list virt-viewer / debian/0.6.0-1 Makefile.am
debian/0.6.0-1

Tree @debian/0.6.0-1 (Download .tar.gz)

Makefile.am @debian/0.6.0-1raw · history · blame

NULL =

ACLOCAL_AMFLAGS = -I m4

SUBDIRS = icons src man po data

AM_DISTCHECK_CONFIGURE_FLAGS = --disable-update-mimedb
EXTRA_DIST =					\
	$(PACKAGE).spec				\
	intltool-extract.in			\
	intltool-merge.in			\
	intltool-update.in			\
	GNUmakefile				\
	maint.mk				\
	cfg.mk					\
	build-aux/gitlog-to-changelog		\
	build-aux/useless-if-before-free	\
	build-aux/vc-list-files			\
	AUTHORS.in				\
	$(NULL)

DISTCLEAN_FILES =				\
	$(PACKAGE).spec				\
	intltool-extract			\
	intltool-merge				\
	intltool-update				\
	$(NULL)

MAINTAINERCLEANFILES =				\
	$(srcdir)/INSTALL			\
	$(srcdir)/aclocal.m4			\
	$(srcdir)/autoscan.log			\
	$(srcdir)/config.h.in			\
	$(srcdir)/build-aux/compile		\
	$(srcdir)/build-aux/config.guess	\
	$(srcdir)/build-aux/config.sub		\
	$(srcdir)/build-aux/depcomp		\
	$(srcdir)/build-aux/install-sh		\
	$(srcdir)/build-aux/ltmain.sh		\
	$(srcdir)/build-aux/missing		\
	$(srcdir)/m4/intltool.m4		\
	$(srcdir)/m4/libtool.m4			\
	$(srcdir)/m4/ltoptions.m4		\
	$(srcdir)/m4/ltsugar.m4			\
	$(srcdir)/m4/ltversion.m4		\
	$(srcdir)/m4/lt~obsolete.m4		\
	$(NULL)

dist-hook: gen-ChangeLog gen-AUTHORS

# Generate the ChangeLog file (with all entries since the switch to git)
# and insert it into the directory we're about to use to create a tarball.
if OS_WIN32
.PHONY: gen-ChangeLog gen-AUTHORS nsis
else
.PHONY: gen-ChangeLog gen-AUTHORS
endif

gen-ChangeLog:
	if test -d .git || test -d ../.git; then		\
	  $(top_srcdir)/build-aux/gitlog-to-changelog		\
	    > $(distdir)/cl-t;					\
	  rm -f $(distdir)/ChangeLog;				\
	  mv $(distdir)/cl-t $(distdir)/ChangeLog;		\
	fi

gen-AUTHORS:
	$(AM_V_GEN)if test -d $(srcdir)/.git; then                      \
	   out="`cd $(srcdir) && git log --pretty=format:'%aN <%aE>' | sort -u`" && \
	   perl -p -e "s/#authorslist#// and print '$$out'"            \
	     < $(srcdir)/AUTHORS.in > $(distdir)/AUTHORS-tmp &&        \
	   mv -f $(distdir)/AUTHORS-tmp $(distdir)/AUTHORS ;           \
	fi

if OS_WIN32
.PHONY: nsis
nsis:
	make -C $(builddir)/data virt-viewer-$(VERSION).exe
endif


# this make sure those files are regenerated when they change
# (in maintainer-mode)
all-local: virt-viewer.spec mingw-virt-viewer.spec

-include $(top_srcdir)/git.mk