ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/Makefile.in
Revision: 1.12
Committed: Tue Dec 27 11:30:29 2005 UTC (18 years, 4 months ago) by root
Branch: MAIN
CVS Tags: rel-6_2, rel-6_3, rel-6_1
Changes since 1.11: +3 -0 lines
Log Message:
*** empty log message ***

File Contents

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