Blame Makefile.am

Packit Service 6d40f9
include $(top_srcdir)/Makefile.decl
Packit Service 6d40f9
Packit Service 6d40f9
SUBDIRS = \
Packit Service 6d40f9
	build \
Packit Service 6d40f9
	library \
Packit Service 6d40f9
	tools
Packit Service 6d40f9
Packit Service 6d40f9
ACLOCAL_AMFLAGS = -I build/m4
Packit Service 6d40f9
Packit Service 6d40f9
DISTCHECK_CONFIGURE_FLAGS = \
Packit Service 6d40f9
	--disable-coverage \
Packit Service 6d40f9
	--enable-doc
Packit Service 6d40f9
Packit Service 6d40f9
dist-hook:
Packit Service 6d40f9
	@if test -d "$(srcdir)/.git"; \
Packit Service 6d40f9
	then \
Packit Service 6d40f9
		echo Creating ChangeLog && \
Packit Service 6d40f9
		( cd "$(top_srcdir)" && \
Packit Service 6d40f9
		  echo '# Generate automatically. Do not edit.'; echo; \
Packit Service 6d40f9
		  $(top_srcdir)/missing --run git log --stat --date=short ) > ChangeLog.tmp \
Packit Service 6d40f9
		&& mv -f ChangeLog.tmp $(top_distdir)/ChangeLog \
Packit Service 6d40f9
		|| ( rm -f ChangeLog.tmp ; \
Packit Service 6d40f9
		     echo Failed to generate ChangeLog >&2 ); \
Packit Service 6d40f9
	else \
Packit Service 6d40f9
		echo A git clone is required to generate a ChangeLog >&2; \
Packit Service 6d40f9
	fi
Packit Service 6d40f9
Packit Service 6d40f9
upload-release: $(DIST_ARCHIVES)
Packit Service 6d40f9
	gpg --detach-sign --local-user 'stef@thewalter.net' $(DIST_ARCHIVES)
Packit Service 6d40f9
	scp $(DIST_ARCHIVES) $(DIST_ARCHIVES).sig anarchy.freedesktop.org:/srv/www.freedesktop.org/www/software/realmd/releases
Packit Service 6d40f9
Packit Service 6d40f9
memcheck:
Packit Service 6d40f9
	make -C library memcheck
Packit Service 6d40f9
Packit Service 6d40f9
leakcheck:
Packit Service 6d40f9
	make -C library leakcheck
Packit Service 6d40f9
Packit Service 6d40f9
if ENABLE_DOC
Packit Service 6d40f9
SUBDIRS += doc
Packit Service 6d40f9
Packit Service 6d40f9
upload-doc: all
Packit Service 6d40f9
	rsync -Hvax doc/html/./ anarchy.freedesktop.org:/srv/www.freedesktop.org/www/software/realmd/adcli/./
Packit Service 6d40f9
Packit Service 6d40f9
distcheck-hook:
Packit Service 6d40f9
	@true
Packit Service 6d40f9
Packit Service 6d40f9
else
Packit Service 6d40f9
upload-doc:
Packit Service 6d40f9
	@echo "*** doc must be enabled  (with --enable-doc) in order to make upload-doc"
Packit Service 6d40f9
	@false
Packit Service 6d40f9
distcheck-hook:
Packit Service 6d40f9
	@echo "*** doc must be enabled (with --enable-doc) in order to make distcheck"
Packit Service 6d40f9
	@false
Packit Service 6d40f9
endif