gitg/Makefile.am

54 lines
1.3 KiB
Makefile
Raw Normal View History

2008-06-23 22:04:20 +00:00
## Process this file with automake to produce Makefile.in
SUBDIRS = libgitg gitg data po
2008-06-23 22:04:20 +00:00
2010-05-30 21:37:21 +00:00
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libgitg-1.0.pc
2008-06-23 22:04:20 +00:00
DISTCLEANFILES = \
intltool-extract \
intltool-merge \
intltool-update
EXTRA_DIST = \
autogen.sh \
2010-01-17 15:11:59 +00:00
MAINTAINERS \
2008-06-23 22:04:20 +00:00
intltool-extract.in \
intltool-merge.in \
2010-05-30 21:37:21 +00:00
intltool-update.in \
libgitg-1.0.pc.in
2010-01-17 15:11:59 +00:00
MAINTAINERCLEANFILES = \
aclocal.m4 \
config.guess \
config.h.in \
config.sub \
depcomp \
install-sh \
ltmain.sh \
missing \
mkinstalldirs \
m4/gnome-doc-utils.m4 \
m4/gtk-doc.m4 \
m4/intltool.m4 \
m4/libtool.m4 \
m4/ltoptions.m4 \
m4/ltsugar.m4 \
m4/ltversion.m4 \
m4/lt~obsolete.m4 \
`find "$(srcdir)" -type f -name Makefile.in -print`
dist-hook: generate-changelog
generate-changelog:
if test -d $(top_srcdir)/.git; then \
2009-03-01 08:59:23 +00:00
sep=`nawk 'BEGIN{$$79=OFS="-";print}'`; \
git --git-dir=$(top_srcdir)/.git log --date=short --stat --decorate \
| sed -e "s/^\(commit [abcdef0-9]\{40\}\) (.*refs\/tags\/\(v\([0-9.]\+\)\).*)/$$sep\nVersion \3\n$$sep\n\n\1/g" -e 's/^\(commit [abcdef0-9]\{40\}\).*/\1/g' | ruby -e 'puts STDIN.read.gsub(/commit\s*(.*)\nAuthor:\s*(.*)\nDate:\s*(.*)\n/, "\\3 \\2\ncommit \\1\n")' > $(distdir)/c-l; \
mv $(distdir)/c-l $(distdir)/ChangeLog; \
fi
2010-05-30 21:37:21 +00:00
.PHONY: generate-changelog
2009-09-06 19:33:23 +00:00
-include $(top_srcdir)/git.mk