ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/Makefile.in
Revision: 1.14
Committed: Mon Jan 16 16:38:20 2006 UTC (18 years, 5 months ago) by ayin
Branch: MAIN
Changes since 1.13: +2 -3 lines
Log Message:
*** empty log message ***

File Contents

# Content
1 # ./Makefile.in -*- Makefile -*-
2
3 VERNAME = rxvt-unicode-$(VERSION)
4
5 srcdir = @srcdir@
6 VPATH = @srcdir@
7 .PATH: @srcdir@
8
9 first_rule: all
10 dummy:
11
12 subdirs = src doc
13 allsubdirs = $(subdirs)
14
15 DIST = INSTALL README.configure configure Makefile Makefile.in ChangeLog
16
17 DIST_CFG = autoconf/aclocal.m4 autoconf/xpm.m4 autoconf/libtool.m4 \
18 autoconf/configure.in autoconf/config.h.in \
19 autoconf/install-sh autoconf/mkinstalldirs \
20 autoconf/config.guess autoconf/config.sub \
21 autoconf/ltmain.sh \
22
23 MKDIR = $(srcdir)/autoconf/mkinstalldirs
24
25 #-------------------------------------------------------------------------
26
27 all allbin alldoc tags:
28 @for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done
29
30 realclean: clean
31 $(RMF) config.h config.status config.log libtool
32
33 clean:
34 $(RMF) *~ config.cache
35 $(RMF) -r autom4te.cache
36 @for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done
37
38 #
39 # entry points for other programs
40 #
41 rxvt:
42 (cd src; ${MAKE})
43
44 tests:
45 (cd src/test; ${MAKE} tests)
46
47 #-------------------------------------------------------------------------
48 configure: autoconf/configure.in autoconf/aclocal.m4 autoconf/config.h.in
49 cd $(srcdir);
50 ./.prebuild
51
52 config.status:
53 if test -x config.status; then config.status --recheck; \
54 else $(SHELL) configure; fi
55
56 autoconf/config.h.in: autoconf/configure.in
57 cd $(srcdir);
58 ./.prebuild
59
60 installdirs:
61 $(MKDIR) $(DESTDIR)$(bindir)
62 $(MKDIR) $(DESTDIR)$(mandir)
63
64 install: installdirs
65 @for I in $(subdirs); do (cd $$I; $(MAKE) DESTDIR=$(DESTDIR) $@) || exit 1; done
66
67 check: all
68 echo "no tests"
69
70 Makefiles:
71 $(SHELL) config.status
72
73 cleandir: realclean
74
75 # distclean goal is for making a clean source tree, but if you have run
76 # configure from a different directory, then doesn't destroy all your
77 # hardly compiled and linked stuff. That's why there is always $(srcdir)/
78 # In that case most of those commands do nothing, except cleaning *~
79 # and cleaning source links.
80 distclean:
81 (cd $(srcdir); $(RMF) *~ config.cache config.h config.log config.status libtool)
82 @for I in $(allsubdirs); do (cd $$I; $(MAKE) $@) || exit 1; done
83 (cd $(srcdir); $(RMF) Makefile)
84
85 distdir:
86 cd doc && $(MAKE) distdepend
87 cd src && $(MAKE) depend
88 rm -rf $(VERNAME)
89 mkdir $(VERNAME)
90 rsync -aR `cat MANIFEST` $(VERNAME)/.
91
92 tar.gz: distdir
93 tar cvf - $(VERNAME) | gzip -vf9 > $(VERNAME).tar.gz
94 rm -rf $(VERNAME)
95
96 tar.bz2: distdir
97 tar cvf - $(VERNAME) | bzip2 -vf9 > $(VERNAME).tar.bz2
98 rm -rf $(VERNAME)
99
100 dist: tar.bz2
101
102 # ------------------------------------------------------------------------