Files
federated-calendar/Makefile.am
T
Igor Gnatenko e411257fca Makefile: don't install docs
All RPM-based distros installing docs via %doc in RPM Spec.
Fedora < 21 using arch-dependent doc-dir.

Signed-off-by: Igor Gnatenko <ignatenko@src.gnome.org>

https://bugzilla.gnome.org/show_bug.cgi?id=742231
2015-01-07 19:10:12 +03:00

59 lines
1.5 KiB
Makefile

ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
SUBDIRS = src data po
INTLTOOL_FILES = \
intltool-extract.in \
intltool-merge.in \
intltool-update.in
EXTRA_DIST = \
$(gnome_calendardoc_DATA) \
$(INTLTOOL_FILES) \
INSTALL \
THANKS \
HACKING \
TODO \
autogen.sh
DISTCLEANFILES = \
intltool-extract \
intltool-merge \
intltool-update \
po/.intltool-merge-cache
DISTCHECK_CONFIGURE_FLAGS = --enable-appstream-util
# Remove doc directory on uninstall
uninstall-local:
-rm -r $(gnome_calendardocdir)
AUTHORS:
@if test -d "$(srcdir)/.git"; \
then \
echo Creating $@ && \
( cd "$(top_srcdir)" && \
echo '# Generated by Makefile. Do not edit.'; echo; \
git log --no-merges --pretty=format:"%an" src \
| sort | uniq ) > $@.tmp \
&& mv -f $@.tmp $@ \
|| ( rm -f $@.tmp ; \
echo Failed to generate $@ >&2 ); \
fi
dist-hook:
@if test -d "$(srcdir)/.git"; \
then \
echo Creating ChangeLog && \
( cd "$(top_srcdir)" && \
echo '# Generated by Makefile. Do not edit.'; echo; \
git log --stat ) > ChangeLog.tmp \
&& mv -f ChangeLog.tmp $(top_distdir)/ChangeLog \
|| ( rm -f ChangeLog.tmp ; \
echo Failed to generate ChangeLog >&2 ); \
else \
echo A git clone is required to generate a ChangeLog >&2; \
fi
.PHONY: AUTHORS