packagekit/Makefile.am
2014-09-11 09:13:53 +01:00

86 lines
2.0 KiB
Makefile

AUTOMAKE_OPTIONS = 1.7
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
SUBDIRS = \
po \
policy \
etc \
data \
lib \
src \
client \
backends \
contrib \
docs
clean-local :
rm -f *~
snapshot:
$(MAKE) dist distdir=$(PACKAGE)-$(VERSION)-`date +"%Y%m%d"`
DISTCLEANFILES = \
PackageKit-*.tar.*
MAINTAINERCLEANFILES = \
$(srcdir)/INSTALL \
$(srcdir)/ABOUT-NLS \
$(srcdir)/aclocal.m4 \
$(srcdir)/autoscan.log \
$(srcdir)/build-aux \
$(srcdir)/config.rpath \
$(srcdir)/config.h.in \
$(srcdir)/configure.scan \
$(srcdir)/mkinstalldirs \
$(srcdir)/omf.make \
$(srcdir)/xmldocs.make \
$(srcdir)/gtk-doc.make \
$(srcdir)/ChangeLog \
`find "$(srcdir)" -type f -name Makefile -print` \
`find "$(srcdir)" -type f -name Makefile.in -print` \
`find "$(srcdir)" -type f -name *.pyc -print`
EXTRA_DIST = \
COPYING \
MAINTAINERS \
AUTHORS \
INSTALL \
README \
HACKING \
NEWS \
autogen.sh \
config.h \
intltool-extract.in \
intltool-merge.in \
intltool-update.in
DISTCHECK_CONFIGURE_FLAGS = \
--disable-bash-completion \
--enable-gtk-doc \
--disable-daemon-tests \
--with-systemdsystemunitdir=/tmp
distclean-local:
if test $(srdcir) = .; then :; else \
rm -f ChangeLog; \
fi
ChangeLog:
@echo Creating $@
@if test -d "$(srcdir)/.git"; then \
(GIT_DIR=$(top_srcdir)/.git ./missing --run git log PACKAGEKIT_0_7_X.. --stat -M -C --name-status --date=short --no-color) | fmt --split-only > $@.tmp \
&& mv -f $@.tmp $@ \
|| ($(RM) $@.tmp; \
echo Failed to generate ChangeLog, your ChangeLog may be outdated >&2; \
(test -f $@ || echo git-log is required to generate this file >> $@)); \
else \
test -f $@ || \
(echo A git checkout and git-log is required to generate ChangeLog >&2 && \
echo A git checkout and git-log is required to generate this file >> $@); \
fi
.PHONY: ChangeLog
-include $(top_srcdir)/git.mk