ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/Makefile.in
Revision: 1.13
Committed: Sat Jan 7 20:24:07 2006 UTC (18 years, 4 months ago) by root
Branch: MAIN
CVS Tags: rel-7_0
Changes since 1.12: +1 -0 lines
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 pcg 1.1 # ./Makefile.in -*- Makefile -*-
2     @MCOMMON@
3    
4 root 1.11 VERNAME = rxvt-unicode-$(VERSION)
5    
6 pcg 1.1 srcdir = @srcdir@
7     VPATH = @srcdir@
8     .PATH: @srcdir@
9    
10     first_rule: all
11     dummy:
12    
13 root 1.10 subdirs = src doc
14 root 1.9 allsubdirs = $(subdirs)
15 pcg 1.1
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 root 1.12 check: all
69     echo "no tests"
70    
71 pcg 1.1 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 pcg 1.3 distdir:
87 root 1.8 cd doc && $(MAKE) distdepend
88 root 1.13 cd src && $(MAKE) depend
89 pcg 1.3 rm -rf $(VERNAME)
90     mkdir $(VERNAME)
91     rsync -aR `cat MANIFEST` $(VERNAME)/.
92 pcg 1.1
93 pcg 1.3 tar.gz: distdir
94     tar cvf - $(VERNAME) | gzip -vf9 > $(VERNAME).tar.gz
95 pcg 1.4 rm -rf $(VERNAME)
96 pcg 1.1
97 pcg 1.3 tar.bz2: distdir
98     tar cvf - $(VERNAME) | bzip2 -vf9 > $(VERNAME).tar.bz2
99 pcg 1.4 rm -rf $(VERNAME)
100 pcg 1.1
101 pcg 1.3 dist: tar.bz2
102 pcg 1.1
103     # ------------------------------------------------------------------------