CIP_PYTHONPATH="@prefix@/@PYTHON_RELATIVE_SITE_PKG@:@prefix@/@PYTHON_RELATIVE_EXEC_SITE_PKG@" # Compile the entire package. This is the default target in # Automake-generated Makefiles, but it does not need to be the default # in third-party Makefiles. all: PYTHONPATH="${CIP_PYTHONPATH}" $(PYTHON) @abs_srcdir@/setup.py build # Copy files to distribute into $(distdir), before a tarball is # constructed. Of course this target is not required if the no-dist # option (see Options) is used. #The variables $(top_distdir) and # $(distdir) (see Dist) will be passed from the outer package to the # subpackage when the distdir target is invoked. These two variables # have been adjusted for the directory that is being recursed into, so # they are ready to use. EXTRA_DIST = \ Authors.txt \ COPYRIGHT \ FAQ.txt \ INSTALL \ LGPL.txt \ LICENSE \ MAINTAINERS \ MANIFEST.in \ News.txt \ README \ Thanks.txt \ Todo.txt \ arbol \ changelog.txt \ doc \ ez_setup.py \ make_docs.sh \ phylo \ pycheckrc \ setup.cfg \ setup.py dist-hook: find "$(distdir)" -depth -and -name .svn -and -type d -and -exec rm -rf {} \; # Install or uninstall files # see http://sources.redhat.com/automake/automake.html#Install install-exec-hook: @echo install-exec-hook target unimplemented uninstall: if test -e installedFiles ; then echo && echo removing `cat installedFiles` && rm -f `cat installedFiles` && rm installedFiles ; else echo "installedFiles not found - No uninstallation performed" ; fi # Install only tex-info files # See http://sources.redhat.com/automake/automake.html#Texinfo install-info: @echo The install-info target is not implemented. # Create install dirs, but don't install any files installdirs: @echo The installdirs target is not implemented. # Check (test) the package # See http://sources.redhat.com/automake/automake.html#Tests check: $(PYTHON) @abs_srcdir@/setup.py test installcheck: cd .. && PYTHONPATH="${CIP_PYTHONPATH}" $(PYTHON) -c "from arbol.tests import test_all; test_all()" mostlyclean: @echo The mostlyclean target is not implemented. clean: $(PYTHON) @abs_srcdir@/setup.py clean --all # Todo if "python" directory already exists, verify that it's a link to our python directory. install: all PYTHONPATH="${CIP_PYTHONPATH}" $(PYTHON) @abs_srcdir@/setup.py install --prefix=$(prefix) --install-purelib=$(pythondir) --install-platlib=$(pythondir) --record=installedFiles distclean: @echo The distclean target is not implemented. maintainer-clean: clean @echo The maintainer-clean target is not implemented. dvi: @echo The dvi target is not implemented. pdf: @echo The pdf target is not implemented. ps: @echo The ps target is not implemented. info: @echo The info target is not implemented html: @echo The html target is not implemented tags: @echo The tags target is not implemented. ctags: @echo The ctags target is not implemented.