1 # ./Makefile.in -*- Makefile -*-
4 VERNAME = rxvt-unicode-$(VERSION)
14 allsubdirs = $(subdirs)
16 DIST = INSTALL README.configure configure Makefile Makefile.in ChangeLog
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 \
24 MKDIR = $(srcdir)/autoconf/mkinstalldirs
26 #-------------------------------------------------------------------------
28 all allbin alldoc tags:
29 @for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done
32 $(RMF) config.h config.status config.log libtool
35 $(RMF) *~ config.cache
36 $(RMF) -r autom4te.cache
37 @for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done
40 # entry points for other programs
46 (cd src/test; ${MAKE} tests)
48 #-------------------------------------------------------------------------
49 configure: autoconf/configure.in autoconf/aclocal.m4 autoconf/config.h.in
54 if test -x config.status; then config.status --recheck; \
55 else $(SHELL) configure; fi
57 autoconf/config.h.in: autoconf/configure.in
62 $(MKDIR) $(DESTDIR)$(bindir)
63 $(MKDIR) $(DESTDIR)$(mandir)
66 @for I in $(subdirs); do (cd $$I; $(MAKE) DESTDIR=$(DESTDIR) $@) || exit 1; done
72 $(SHELL) config.status
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.
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)
87 cd doc && $(MAKE) distdepend
88 cd src && $(MAKE) depend
91 rsync -aR `cat MANIFEST` $(VERNAME)/.
94 tar cvf - $(VERNAME) | gzip -vf9 > $(VERNAME).tar.gz
98 tar cvf - $(VERNAME) | bzip2 -vf9 > $(VERNAME).tar.bz2
103 # ------------------------------------------------------------------------