forked from detwiler/envconf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.am
39 lines (27 loc) · 930 Bytes
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Makefile.am
SUBDIRS = data \
scripts
pkgdata_DATA = $(PACKAGE)-release
CLEANFILES = $(pkgdata_DATA)
.PHONY: $(PACKAGE)-release
$(PACKAGE)-release:
$(AM_V_GEN)echo "$(PACKAGE) release $(VERSION)" > $@-t && mv $@-t $@
BUILT_SOURCES = $(top_srcdir)/.version
$(top_srcdir)/.version:
$(AM_V_GEN)echo $(VERSION) > $@-t && mv $@-t $@
dist-hook: gen-ChangeLog
$(AM_V_GEN)echo $(VERSION) > $(distdir)/.tarball-version
.PHONY: gen-ChangeLog
gen-ChangeLog:
$(AM_V_GEN)if test -d .git; then \
$(top_srcdir)/build-aux/gitlog-to-changelog > $(distdir)/cl-t;\
rm -f $(distdir)/ChangeLog; \
mv $(distdir)/cl-t $(distdir)/ChangeLog; \
fi
EXTRA_DIST = $(top_srcdir)/.version
ACLOCAL_AMFLAGS = -I m4
DISTCHECK_CONFIGURE_FLAGS = HOME=$(top_distdir) \
--with-vimrc-example=@VIMRC_EXAMPLE@
if WITH_GNULIB_SRCDIR
DISTCHECK_CONFIGURE_FLAGS += --with-gnulib-srcdir=@GNULIB_SRCDIR@
endif # WITH_GNULIB_SRCDIR