| 1 |
## Process this file with automake to produce Makefile.in |
| 2 |
|
| 3 |
ACLOCAL_AMFLAGS = -I m4 |
| 4 |
SUBDIRS = lib libidu src lisp doc man gnulib-tests testsuite po |
| 5 |
EXTRA_DIST = \ |
| 6 |
.prev-version \ |
| 7 |
.version \ |
| 8 |
cfg.mk \ |
| 9 |
dist-check.mk \ |
| 10 |
idutils.spec \ |
| 11 |
idutils.spec.in \ |
| 12 |
maint.mk \ |
| 13 |
bootstrap \ |
| 14 |
bootstrap.conf \ |
| 15 |
build-aux/vc-list-files |
| 16 |
|
| 17 |
gen_start_date = 2008-01-01 |
| 18 |
.PHONY: gen-ChangeLog |
| 19 |
gen-ChangeLog: |
| 20 |
if test -d .git; then \ |
| 21 |
$(top_srcdir)/build-aux/gitlog-to-changelog \ |
| 22 |
--since=$(gen_start_date) > $(distdir)/cl-t; \ |
| 23 |
rm -f $(distdir)/ChangeLog; \ |
| 24 |
mv $(distdir)/cl-t $(distdir)/ChangeLog; \ |
| 25 |
fi |
| 26 |
|
| 27 |
idutils.spec: idutils.spec.in .version |
| 28 |
sed 's/@''PACKAGE@/$(PACKAGE)/;s/@''VERSION@/$(VERSION)/' $< > $@-t |
| 29 |
mv $@-t $@ |
| 30 |
MAINTAINERCLEANFILES = idutils.spec |
| 31 |
|
| 32 |
BUILT_SOURCES = .version |
| 33 |
.version: |
| 34 |
echo $(VERSION) > $@-t && mv $@-t $@ |
| 35 |
|
| 36 |
# Arrange so that .tarball-version appears only in the distribution |
| 37 |
# tarball, and never in a checked-out repository. |
| 38 |
# The perl substitution is to change some key uses of "rm" to "/bin/rm". |
| 39 |
# See the rm_subst comment for details. |
| 40 |
dist-hook: gen-ChangeLog |
| 41 |
echo $(VERSION) > $(distdir)/.tarball-version |
| 42 |
|
| 43 |
ALL_RECURSIVE_TARGETS = distcheck-hook |
| 44 |
distcheck-hook: syntax-check |