From 52ac84470d84b54ff6792cc2c055a4d3fc2b826c Mon Sep 17 00:00:00 2001 From: Michael Hanke Date: Mon, 11 May 2009 20:07:31 +0200 Subject: [PATCH] Few fixes and polish. --- .gitignore | 1 + Makefile | 19 +++++++++++++------ sphinx/index.rst | 4 ++-- reblender => tools/reblender | 0 4 files changed, 16 insertions(+), 8 deletions(-) rename reblender => tools/reblender (100%) diff --git a/.gitignore b/.gitignore index b926804..f6de385 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ build cache *.swp +*-stamp diff --git a/Makefile b/Makefile index fd125e1..43e33b6 100644 --- a/Makefile +++ b/Makefile @@ -2,6 +2,7 @@ WWW_UPLOAD_URI = elrond:/home/hanke/public_html/archive WWW_DIR = build/html +all: html prep: if [ ! -d build ]; then mkdir build; fi @@ -12,8 +13,10 @@ pics: $(MAKE) -C artwork -html: pics prep source +html: html-stamp +html-stamp: pics prep source cd build/src && $(MAKE) html BUILDDIR=$(CURDIR)/build + touch $@ clean: @@ -26,21 +29,25 @@ distclean: clean -rm -rf cache -source: - ./reblender generate \ +source: source-stamp +source-stamp: build/db.db + tools/reblender generate \ --cfg debneuro.cfg \ --db build/db.db \ --outdir build/src \ --pkgaddenum pkgs + rm -f html-stamp + touch $@ -refresh-db: +build/db.db: mkdir -p build -# rm -f build/db.db - ./reblender refreshdb \ + tools/reblender refreshdb \ --cfg debneuro.cfg \ --db build/db.db upload-website: html rsync -rvzlhp --delete --chmod=Dg+s,g+rw $(WWW_DIR) $(WWW_UPLOAD_URI) + +.PHONY: prep diff --git a/sphinx/index.rst b/sphinx/index.rst index d790a88..a9e111f 100644 --- a/sphinx/index.rst +++ b/sphinx/index.rst @@ -18,8 +18,8 @@ is simply useful in the neuroscience context. The featured neuroscience software can be browsed via the repository :ref:`genindex` or through the :ref:`maintainer view `. -All other packages are available through the search engine or from the -:ref:`full package list `. +All other packages are available from the :ref:`full package list +`. News diff --git a/reblender b/tools/reblender similarity index 100% rename from reblender rename to tools/reblender -- 2.39.5