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
69 $(SHELL) config.status
73 # distclean goal is for making a clean source tree, but if you have run
74 # configure from a different directory, then doesn't destroy all your
75 # hardly compiled and linked stuff. That's why there is always $(srcdir)/
76 # In that case most of those commands do nothing, except cleaning *~
77 # and cleaning source links.
79 (cd $(srcdir); $(RMF) *~ config.cache config.h config.log config.status libtool)
80 @for I in $(allsubdirs); do (cd $$I; $(MAKE) $@) || exit 1; done
81 (cd $(srcdir); $(RMF) Makefile autoconf/Make.common)
84 cd doc && $(MAKE) distdepend
87 rsync -aR `cat MANIFEST` $(VERNAME)/.
90 tar cvf - $(VERNAME) | gzip -vf9 > $(VERNAME).tar.gz
94 tar cvf - $(VERNAME) | bzip2 -vf9 > $(VERNAME).tar.bz2
99 # ------------------------------------------------------------------------