From d6fefb1316a5a1eb55aaac2a4f3f54b3fb2ee482 Mon Sep 17 00:00:00 2001 From: Michael Hanke Date: Sun, 30 Dec 2012 19:15:39 +0100 Subject: [PATCH] RF: Simplify Bigmess use --- Makefile | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 849e4a3..f3d0e1d 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,10 @@ WWW_DIR = build/html/ WWW_UPLOAD_URI_STATIC=$(WWW_UPLOAD_URI)/_static +BIGMESS_OPTS = -c neurodebian_repo.cfg +BIGMESS_CMD = PYTHONPATH=.:../bigmess:$(PYTHONPATH) ../bigmess/bin/bigmess +BIGMESS = $(BIGMESS_CMD) $(BIGMESS_OPTS) + # Lentghy one due to updatedb all: updatedb upload-website mirmon # Quick one -- just rebuilds html if new changes and adjusts the status of the mirrors @@ -40,11 +44,10 @@ source-stamp: mkdir -p build/src/pkgs/ mkdir -p build/src/lists/ mkdir -p build/src/pkglists/ - PYTHONPATH=.:../bigmess:$(PYTHONPATH) ../bigmess/bin/bigmess genpkgs -d build/src/pkgs/ - PYTHONPATH=.:../bigmess:$(PYTHONPATH) ../bigmess/bin/bigmess genaptlists -d build/src/lists/ - PYTHONPATH=.:../bigmess:$(PYTHONPATH) ../bigmess/bin/bigmess genmirrorselect > build/src/sources_lists - PYTHONPATH=.:../bigmess:$(PYTHONPATH) ../bigmess/bin/bigmess genpkglists \ - -d build/src/pkglists > build/src/pkgs.rst + $(BIGMESS) mkpkgs -d build/src/pkgs/ + $(BIGMESS) mkaptcfgs -d build/src/lists/ + $(BIGMESS) mkrepocfg > build/src/sources_lists + $(BIGMESS) mkpkgtocs -d build/src/pkglists > build/src/pkgs.rst touch $@ -- 2.39.2