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