1 # ./Makefile.in -*- Makefile -*-
3 VERNAME = rxvt-unicode-$(VERSION)
13 allsubdirs = $(subdirs)
15 DIST = INSTALL README.configure configure Makefile Makefile.in ChangeLog
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 \
23 MKDIR = $(srcdir)/autoconf/mkinstalldirs
25 #-------------------------------------------------------------------------
27 all allbin alldoc tags:
28 @for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done
31 $(RMF) config.h config.status config.log libtool
34 $(RMF) *~ config.cache
35 $(RMF) -r autom4te.cache
36 @for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done
39 # entry points for other programs
45 (cd src/test; ${MAKE} tests)
47 #-------------------------------------------------------------------------
48 configure: autoconf/configure.in autoconf/aclocal.m4 autoconf/config.h.in
53 if test -x config.status; then config.status --recheck; \
54 else $(SHELL) configure; fi
56 autoconf/config.h.in: autoconf/configure.in
61 $(MKDIR) $(DESTDIR)$(bindir)
62 $(MKDIR) $(DESTDIR)$(mandir)
65 @for I in $(subdirs); do (cd $$I; $(MAKE) DESTDIR=$(DESTDIR) $@) || exit 1; done
71 $(SHELL) config.status
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.
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)
86 cd doc && $(MAKE) distdepend
87 cd src && $(MAKE) depend
90 rsync -aR `cat MANIFEST` $(VERNAME)/.
93 tar cvf - $(VERNAME) | gzip -vf9 > $(VERNAME).tar.gz
97 tar cvf - $(VERNAME) | bzip2 -vf9 > $(VERNAME).tar.bz2
102 # ------------------------------------------------------------------------