File: Makefile.am

package info (click to toggle)
sigscheme 0.6.1-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 5,500 kB
  • ctags: 4,422
  • sloc: ansic: 21,247; lisp: 14,501; sh: 8,910; makefile: 539; ruby: 251
file content (44 lines) | stat: -rw-r--r-- 1,431 bytes parent folder | download
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
SUBDIRS = doc m4 tools include src lib test test-c test-c2 bench

UIM_REPOSITORY = http://anonsvn.freedesktop.org/svn/uim
SSCM_REPOSITORY = $(UIM_REPOSITORY)/branches/r5rs/sigscheme
TAGS_REPOSITORY = $(UIM_REPOSITORY)/tags
DIST_SUM_LIST = $(PACKAGE)-$(VERSION).md5

EXTRA_DIST = \
        TODO autogen.sh \
        compare-scm.sh runbench.sh runtest.sh runtest-tail-rec.sh

DISTCLEANFILES = 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 | tools/gnuify-changelog.pl > $@
	@test -s $@ && echo 'ChangeLog updated successfully.'

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

# To generate ChangeLog for a release properly, a source tree for official
# release must not be obtained by 'svn export' but 'svn co'. See
# doc/release.txt for further information.
dist-hook:
	svn info | $(EGREP) -q "^URL: .+/svn/uim/tags/sigscheme-" \
	    || (echo "error: not an official release. checkout tagged one"; exit 1)

# for 'svn log'
distcheck-hook:
	cp -Rp $(top_srcdir)/.svn $(distdir)/_build
	touch $(distdir)/_build/.svn/prepared-for-distcheck

distclean-local:
	if test '$(top_srcdir)' != '$(top_builddir)'; then  \
	    rm -f ChangeLog;                                    \
	fi
	if test -f .svn/prepared-for-distcheck; then    \
	    rm -rf .svn;                                \
	fi