From c56bf194171d032474f57c0523a9ef701fbb1356 Mon Sep 17 00:00:00 2001 From: Romain Goffe Date: Sat, 15 Oct 2011 03:46:50 +0200 Subject: [PATCH] update paths for tex and sb files --- makefile | 6 +++--- tex/crepbook.cls | 6 ++++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/makefile b/makefile index e2561d98..179bde8e 100644 --- a/makefile +++ b/makefile @@ -15,7 +15,7 @@ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # -SONGBOOKS := $(wildcard *.sb) +SONGBOOKS := $(wildcard books/*.sb) TARGETS = $(SONGBOOKS:%.sb=%) PDF = $(TARGETS:%=%.pdf) @@ -78,10 +78,10 @@ $(PDF): %.pdf: %.tex %.aux %.sbx: %.sxd $(MAKE_INDEX) $< > $@ -%.tex: %.sb +%.tex: $(SONGBOOKS) $(MAKE_SONGBOOK) -s $< -o $@ -%.d: %.sb +%.d: $(SONGBOOKS) $(MAKE_SONGBOOK) -s $< -d -o $@ %.pdf: %.ly diff --git a/tex/crepbook.cls b/tex/crepbook.cls index 155f7498..c53d1bd0 100644 --- a/tex/crepbook.cls +++ b/tex/crepbook.cls @@ -5,6 +5,8 @@ \ProvidesClass{crepbook}[2009/11/12 v0.4.2 LaTeX document class for Crep Books] +\makeatletter\def\input@path{{tex/}} + \newif{\iftabs} \newif{\iflilypond} \newif{\ifnodiagram} @@ -48,8 +50,8 @@ linkcolor=tango-green-3, urlcolor=tango-blue-3]{hyperref} \RequirePackage{tikz} -\RequirePackage{tex/licence} -\RequirePackage{tex/xstring} +\RequirePackage{licence} +\RequirePackage{xstring} \iflyric% \tabsfalse%