File: Makefile.am

package info (click to toggle)
sigscheme 0.8.5-4.1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 11,752 kB
  • ctags: 7,396
  • sloc: lisp: 37,498; ansic: 30,976; sh: 10,329; makefile: 746; asm: 333; ruby: 288
file content (52 lines) | stat: -rw-r--r-- 1,554 bytes parent folder | download | duplicates (10)
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
40
41
42
43
44
45
46
47
48
49
50
51
52
SUBDIRS = doc m4 tools
if USE_LIBGCROOTS_BUNDLED
SUBDIRS += libgcroots
endif
SUBDIRS += include src lib test test-c bench

# To make 'make distclean' workable on --with-libgcroots=tiny-subdir,
# libgcroots must be eliminated from $DIST_SUBDIRS.
DIST_SUBDIRS = $(SUBDIRS)

# $(distdir) does work as a part of $(RELEASE_URL) when configured as a
# subpackage.
DIST_NAME = $(PACKAGE)-$(VERSION)
UIM_REPOSITORY = http://uim.googlecode.com/svn
SSCM_REPOSITORY = $(UIM_REPOSITORY)/sigscheme-trunk
TAGS_REPOSITORY = $(UIM_REPOSITORY)/tags
#RELEASE_URL     = $(SSCM_REPOSITORY)
RELEASE_URL     = $(TAGS_REPOSITORY)/$(DIST_NAME)
DIST_SUM_LIST = $(DIST_NAME).sum

EXTRA_DIST = \
        sigscheme.pc.in libgcroots.mk.in sigscheme.mk.in autogen.sh \
        RELNOTE TODO QALog \
        compare-scm.sh runbench.sh runtest.sh runtest-tail-rec.sh \
        make-report.sh make-dist.sh

if USE_LIBSSCM
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = sigscheme.pc
endif

$(pkgconfig_DATA): config.status

DISTCLEANFILES = sigscheme.pc tools/gnuify-changelog.pl $(DIST_SUM_LIST)

.PHONY: FORCE sum
FORCE:

ChangeLog: FORCE
	svn export $(UIM_REPOSITORY)/trunk/tools/gnuify-changelog.pl \
	    tools/gnuify-changelog.pl
	svn log $(RELEASE_URL) | tools/gnuify-changelog.pl > $@
	@test -s $@ && echo 'ChangeLog updated successfully.'

sum: FORCE
	$(MD5) $(DIST_ARCHIVES) >$(DIST_SUM_LIST)
	$(SHA1) $(DIST_ARCHIVES) >>$(DIST_SUM_LIST)

distclean-local:
	if test '$(top_srcdir)' != '$(top_builddir)'; then  \
	    rm -f ChangeLog;                                    \
	fi