--- rxvt-unicode/Makefile.in 2007/06/13 16:20:41 1.27 +++ rxvt-unicode/Makefile.in 2008/02/22 16:09:52 1.35 @@ -30,23 +30,20 @@ subdirs = src doc -MKDIR = $(srcdir)/mkinstalldirs +RECURSIVE_TARGETS = all allbin alldoc tags clean distclean realclean install #------------------------------------------------------------------------- -all allbin alldoc tags: - @for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done +$(RECURSIVE_TARGETS): + @for I in $(subdirs); do (cd $$I; $(MAKE) $@) || exit 1; done distclean realclean: distclean-local -clean distclean realclean: - @for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done - # # entry points for other programs # rxvt: - (cd src; ${MAKE}) + (cd src; $(MAKE)) #------------------------------------------------------------------------- configure: configure.ac aclocal.m4 config.h.in @@ -59,13 +56,6 @@ config.h.in: configure.ac cd $(srcdir); ./autogen.sh -installdirs: - $(MKDIR) $(DESTDIR)$(bindir) - $(MKDIR) $(DESTDIR)$(mandir) - -install: installdirs - @for I in $(subdirs); do (cd $$I; $(MAKE) DESTDIR=$(DESTDIR) $@) || exit 1; done - check: all echo "no tests" @@ -75,7 +65,7 @@ cleandir: realclean distclean-local: - rm -f *~ config.cache config.h config.log config.status libtool + rm -f config.cache config.h config.log config.status rm -f Makefile distdir: @@ -83,7 +73,7 @@ cd src && $(MAKE) depend rm -rf $(VERNAME) mkdir $(VERNAME) - rsync -aR `cat MANIFEST` $(VERNAME)/. + rsync -aR --copy-unsafe-links `cat MANIFEST` $(VERNAME)/. tar.gz: distdir tar cvf - $(VERNAME) | gzip -vf9 > $(VERNAME).tar.gz