--- rxvt-unicode/Makefile.in 2007/06/13 11:14:00 1.25 +++ rxvt-unicode/Makefile.in 2011/12/26 15:44:01 1.38 @@ -8,21 +8,12 @@ exec_prefix = @exec_prefix@ bindir = @bindir@ libdir = @libdir@ -includedir = @includedir@ man1dir = @mandir@/man1 man1ext = 1 man3dir = @mandir@/man3 man3ext = 3 man7dir = @mandir@/man7 man7ext = 7 -MV = @MV@ -CP = @CP@ -LN = @LN@ -SED = @SED@ -AWK = @AWK@ -ECHO = @ECHO@ -CMP = @CMP@ -TBL = @TBL@ PERL = @PERL@ INSTALL = @INSTALL@ INSTALL_PROGRAM = @INSTALL@ -m 755 @@ -38,42 +29,32 @@ 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 +configure: configure.ac aclocal.m4 libev/libev.m4 libptytty/ptytty.m4 cd $(srcdir); ./autogen.sh config.status: if test -x config.status; then config.status --recheck; \ else $(SHELL) configure; fi -config.h.in: configure.ac +config.h.in: configure.ac aclocal.m4 libev/libev.m4 libptytty/ptytty.m4 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" @@ -83,7 +64,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: @@ -91,7 +72,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