summaryrefslogtreecommitdiffstats
path: root/Makefile.in
blob: eee596902e599a1538fec521efe17a45c272f582 (plain)
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
86
87
# ./Makefile.in			-*- Makefile -*-

DATE = @DATE@
VERSION = @VERSION@
RXVTNAME = @RXVTNAME@
SHELL = /bin/sh
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
libdir = @libdir@
man1dir = @mandir@/man1
man1ext = 1
man3dir = @mandir@/man3
man3ext = 3
man7dir = @mandir@/man7
man7ext = 7
PERL = @PERL@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL@ -m 755
INSTALL_DATA = @INSTALL@ -m 644

VERNAME = rxvt-unicode-$(VERSION)

srcdir = @srcdir@
VPATH = @srcdir@

first_rule: all
dummy:

subdirs = src doc

RECURSIVE_TARGETS = all allbin alldoc tags clean distclean realclean install

#-------------------------------------------------------------------------

$(RECURSIVE_TARGETS):
	@for I in $(subdirs); do (cd $$I; $(MAKE) $@) || exit 1; done

distclean realclean: distclean-local

#
# entry points for other programs
#
rxvt:
	(cd src; $(MAKE))

#-------------------------------------------------------------------------
configure: configure.ac aclocal.m4 libev/libev.m4 libptytty/ptytty.m4
	cd $(srcdir); ./autogen.sh

config.status:
	if test -x config.status; then config.status --recheck; \
	else $(SHELL) configure; fi

config.h.in: configure.ac aclocal.m4 libev/libev.m4 libptytty/ptytty.m4
	cd $(srcdir); ./autogen.sh

check: all
	echo "no tests"

Makefiles:
	$(SHELL) config.status

cleandir: realclean

distclean-local:
	rm -f config.cache config.h config.log config.status
	rm -f Makefile

distdir:
	cd doc && $(MAKE) distdepend
	cd src && $(MAKE) depend
	rm -rf $(VERNAME)
	mkdir $(VERNAME)
	rsync -aR --copy-unsafe-links `cat MANIFEST` $(VERNAME)/.

tar.gz: distdir
	tar cvf - $(VERNAME) | gzip -vf9 > $(VERNAME).tar.gz
	rm -rf $(VERNAME)

tar.bz2: distdir
	tar cvf - $(VERNAME) | bzip2 -vf9 > $(VERNAME).tar.bz2
	rm -rf $(VERNAME)

dist: tar.bz2

# ------------------------------------------------------------------------