Browse Source

update paths for tex and sb files

remotes/origin/cmake
Romain Goffe 13 years ago
parent
commit
c56bf19417
  1. 6
      makefile
  2. 6
      tex/crepbook.cls

6
makefile

@ -15,7 +15,7 @@
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# #
SONGBOOKS := $(wildcard *.sb) SONGBOOKS := $(wildcard books/*.sb)
TARGETS = $(SONGBOOKS:%.sb=%) TARGETS = $(SONGBOOKS:%.sb=%)
PDF = $(TARGETS:%=%.pdf) PDF = $(TARGETS:%=%.pdf)
@ -78,10 +78,10 @@ $(PDF): %.pdf: %.tex %.aux
%.sbx: %.sxd %.sbx: %.sxd
$(MAKE_INDEX) $< > $@ $(MAKE_INDEX) $< > $@
%.tex: %.sb %.tex: $(SONGBOOKS)
$(MAKE_SONGBOOK) -s $< -o $@ $(MAKE_SONGBOOK) -s $< -o $@
%.d: %.sb %.d: $(SONGBOOKS)
$(MAKE_SONGBOOK) -s $< -d -o $@ $(MAKE_SONGBOOK) -s $< -d -o $@
%.pdf: %.ly %.pdf: %.ly

6
tex/crepbook.cls

@ -5,6 +5,8 @@
\ProvidesClass{crepbook}[2009/11/12 v0.4.2 LaTeX document class for Crep \ProvidesClass{crepbook}[2009/11/12 v0.4.2 LaTeX document class for Crep
Books] Books]
\makeatletter\def\input@path{{tex/}}
\newif{\iftabs} \newif{\iftabs}
\newif{\iflilypond} \newif{\iflilypond}
\newif{\ifnodiagram} \newif{\ifnodiagram}
@ -48,8 +50,8 @@
linkcolor=tango-green-3, linkcolor=tango-green-3,
urlcolor=tango-blue-3]{hyperref} urlcolor=tango-blue-3]{hyperref}
\RequirePackage{tikz} \RequirePackage{tikz}
\RequirePackage{tex/licence} \RequirePackage{licence}
\RequirePackage{tex/xstring} \RequirePackage{xstring}
\iflyric% \iflyric%
\tabsfalse% \tabsfalse%

Loading…
Cancel
Save