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
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
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"
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:
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