1@SET_MAKE@ 2 3top_builddir=@top_builddir@ 4top_srcdir=@top_srcdir@ 5srcdir=@srcdir@ 6 7LS=/bin/ls 8VPATH=@srcdir@ 9 10include $(top_builddir)/Make.rules 11 12.SUFFIXES: .h 13 14.PHONY: "" 15 16all: 17 @echo "Running make from top level directory." 18 cd .. && $(MAKE) all 19 20Makefile: Makefile.in ../config.status 21 cd ../ && ./config.status 22 23# BSD install -d doesn't work, so ... 24$(DESTDIR)$(includedir) $(DESTDIR)$(includedir)/proftpd: 25 @if [ ! -d $@ ]; then \ 26 mkdir -p $@; \ 27 chown $(INSTALL_USER):$(INSTALL_GROUP) $@; \ 28 chmod 0755 $@; \ 29 fi 30 31install: $(DESTDIR)$(includedir)/proftpd 32 (cd $(srcdir) && $(INSTALL_MAN) *.h $(DESTDIR)$(includedir)/proftpd/) 33 (cd $(top_builddir) && $(INSTALL_MAN) *.h $(DESTDIR)$(includedir)/proftpd/) 34