/
Makefile.am
34 lines (29 loc) · 1.32 KB
/
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
LANG = C
LC_ALL = C
ACLOCAL_AMFLAGS = -I m4
SUBDIRS =
if DESCEND_LIBLTDL
SUBDIRS += libltdl
endif DESCEND_LIBLTDL
SUBDIRS += spec src test
pkgconfigdir = @libdir@/pkgconfig
pkgconfig_DATA = libfixc.pc
EXTRA_DIST = .version git-version-gen
# Version string management. There are two files to be aware of:
# .tarball-version - present only in a distribution tarball, and not in
# a checked-out repository. Created with contents that were learned at
# the last time autoconf was run, and used by git-version-gen. Must not
# be present in either $(srcdir) or $(builddir) for git-version-gen to
# give accurate answers during normal development with a checked out tree,
# but must be present in a tarball when there is no version control system.
# Therefore, it cannot be used in any dependencies. GNUmakefile has
# hooks to force a reconfigure at distribution time to get the value
# correct, without penalizing normal development with extra reconfigures.
# .version - present in a checked-out repository and in a distribution
# tarball. At least as current as the most recent .tarball-version
# creation. Usable in dependencies, particularly for files that don't
# want to depend on config.h but do want to track version changes.
BUILT_SOURCES = .version
.PHONY: .version
.version: git-version-gen
$(<D)/$(<F) $@ >/dev/null