1# ./Makefile.in			-*- Makefile -*-
2
3DATE = @DATE@
4VERSION = @VERSION@
5RXVTNAME = @RXVTNAME@
6SHELL = /bin/sh
7prefix = @prefix@
8exec_prefix = @exec_prefix@
9bindir = @bindir@
10libdir = @libdir@
11man1dir = @mandir@/man1
12man1ext = 1
13man3dir = @mandir@/man3
14man3ext = 3
15man7dir = @mandir@/man7
16man7ext = 7
17PERL = @PERL@
18INSTALL = @INSTALL@
19INSTALL_PROGRAM = @INSTALL@ -m 755
20INSTALL_DATA = @INSTALL@ -m 644
21
22VERNAME = rxvt-unicode-$(VERSION)
23
24srcdir = @srcdir@
25VPATH = @srcdir@
26
27first_rule: all
28dummy:
29
30subdirs = src doc
31
32RECURSIVE_TARGETS = all allbin alldoc tags clean distclean realclean install
33
34#-------------------------------------------------------------------------
35
36$(RECURSIVE_TARGETS):
37	@for I in $(subdirs); do (cd $$I; $(MAKE) $@) || exit 1; done
38
39distclean realclean: distclean-local
40
41#
42# entry points for other programs
43#
44rxvt:
45	(cd src; $(MAKE))
46
47#-------------------------------------------------------------------------
48configure: configure.ac aclocal.m4 libev/libev.m4
49	cd $(srcdir); ./autogen.sh
50
51config.status:
52	if test -x config.status; then config.status --recheck; \
53	else $(SHELL) configure; fi
54
55config.h.in: configure.ac aclocal.m4 libev/libev.m4
56	cd $(srcdir); ./autogen.sh
57
58check: all
59	echo "no tests"
60
61Makefiles:
62	$(SHELL) config.status
63
64cleandir: realclean
65
66distclean-local:
67	rm -f config.cache config.h config.log config.status
68	rm -f Makefile
69
70distdir:
71	cd doc && $(MAKE) distdepend
72	cd src && $(MAKE) depend
73	rm -rf $(VERNAME)
74	mkdir $(VERNAME)
75	rsync -aR --copy-unsafe-links `cat MANIFEST` $(VERNAME)/.
76
77tar.gz: distdir
78	tar cvf - $(VERNAME) | gzip -vf9 > $(VERNAME).tar.gz
79	rm -rf $(VERNAME)
80
81tar.bz2: distdir
82	tar cvf - $(VERNAME) | bzip2 -vf9 > $(VERNAME).tar.bz2
83	rm -rf $(VERNAME)
84
85dist: tar.bz2
86
87# ------------------------------------------------------------------------
88