File: Makefile.am

package info (click to toggle)
xbae 4.60.4-11
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,020 kB
  • sloc: ansic: 22,089; sh: 8,293; makefile: 522; tcl: 1
file content (85 lines) | stat: -rw-r--r-- 2,787 bytes parent folder | download | duplicates (5)
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
#
# $Header: /cvsroot/xbae/Xbae/Makefile.am,v 1.21 2005/08/15 07:41:08 dannybackx Exp $
#

MAINTAINERCLEANFILES=Makefile.in configure libtool config.guess config.sub ltconfig ltmain.sh aclocal.m4 config.h.in install-sh missing mkinstalldirs
SUBDIRS	= include src examples doc scripts

EXTRA_DIST = configure ac_find_xbae.m4 Imakefile Xbae.tmpl Xbae.rules \
	CVSMake

aclocaldir = @ACLOCALDIR@

if Aclocal

aclocal_DATA = ac_find_xbae.m4

endif

docdir=	$(datadir)/Xbae
doc_DATA= NEWS README

.PHONY: changelog UpdateCheck

if MAINTAINER_MODE

UpdateCheck:
	@cvs -Qn tag -Fc DummyTag >/dev/null

changelog:
	@cvs -Q log -r@PACKAGE@-@XBAE_CURRENT@_@XBAE_REVISION@_@XBAE_AGE@: | $(srcdir)/parselog >ChangeLog

change-release: UpdateCheck changelog
	@sed -e's/^XBAE_REVISION=@XBAE_REVISION@/XBAE_REVISION=@NEXT_REVISION@/' configure.in >$$ && mv $$ configure.in
	@$(MAKE) dist
	@cvs -Q commit -m "change-release @XBAE_CURRENT@.@XBAE_REVISION@.@XBAE_AGE@ -> @XBAE_CURRENT@.@NEXT_REVISION@.@XBAE_AGE@" configure.in ChangeLog
	@cvs -Q tag -f @PACKAGE@-@XBAE_CURRENT@_@NEXT_REVISION@_@XBAE_AGE@

interface-add-release: UpdateCheck changelog
	@echo @PACKAGE@-@NEXT_CURRENT@.0.@NEXT_AGE@
	@sed -e's/^XBAE_REVISION=@XBAE_REVISION@/XBAE_REVISION=0/' -e's/^XBAE_CURRENT=@XBAE_CURRENT@/XBAE_CURRENT=@NEXT_CURRENT@/' -e's/^XBAE_AGE=@XBAE_AGE@/XBAE_AGE=@NEXT_AGE@/' configure.in >$$ && mv $$ configure.in
	@$(MAKE) dist
	@cvs -Q commit -m "change-release @XBAE_CURRENT@.@XBAE_REVISION@.@XBAE_AGE@ -> @NEXT_CURRENT@.0.@NEXT_AGE@" configure.in ChangeLog
	@cvs -Q tag -f @PACKAGE@-@NEXT_CURRENT@_0_@NEXT_AGE@

interface-remove-release: UpdateCheck changelog
	@echo @PACKAGE@-@NEXT_CURRENT@.0.0
	@sed -e's/^XBAE_CURRENT=@XBAE_CURRENT@/XBAE_CURRENT=@NEXT_CURRENT@/' -e's/^XBAE_REVISION=@XBAE_REVISION@/XBAE_REVISION=0/' -e's/^XBAE_AGE=@XBAE_AGE@/XBAE_AGE=0/' configure.in >$$ && mv $$ configure.in
	@$(MAKE) dist
	@cvs -Q commit -m "change-release @XBAE_CURRENT@.@XBAE_REVISION@.@XBAE_AGE@ -> @NEXT_CURRENT@.0.0" configure.in ChangeLog
	@cvs -Q tag -f @PACKAGE@-@NEXT_CURRENT@_0_0

else

changelog:
	@echo "Only available when configured with --enable-maintainer-mode"

UpdateCheck: changelog
change-release: UpdateCheck changelog
interface-add-release: UpdateCheck changelog
interface-remove-release: UpdateCheck changelog

endif


#
# Some convenient targets for users of Exuberant ctags
#

if Have_Exctags
# Specify options
#  - for recursive search
#  - to prevent to follow symbolic links
#  - to avoid picking up Makefiles, etc.
#    (selecting C++ support picks up the .h files, etc.)
CTAGS_CMD=ctags -R --links=no --languages=c,c++

# One target for each version and an unified one
ctags:
	$(CTAGS_CMD) \
              include src

ctags-all:
	$(CTAGS_CMD) \
              include src examples
endif