Skip to content

Commit

Permalink
new abcm2ps version; cleaning Noten pdfs
Browse files Browse the repository at this point in the history
  • Loading branch information
jonashoechst committed Nov 17, 2018
1 parent a0eefc6 commit a83bdbc
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 7 deletions.
9 changes: 5 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,14 @@ ifeq ($(shell uname -s),Darwin)
endif


.PHONY: clean PDFs Noten
.PHONY: clean clean_Noten PDFs Noten

# Generic targets
all: PfadiralalaIV.pdf PfadiralalaIVplus.pdf
clean:
@rm -f *.lb .*.lb *.aux *.log *.sxc *.sxd *.sbx *.synctex.gz *.out *.fls Pfadiralala*.pdf

clean: clean_Noten
rm -f *.lb .*.lb *.aux *.log *.sxc *.sxd *.sbx *.synctex.gz *.out *.fls Pfadiralala*.pdf
clean_Noten:
rm -f $(patsubst ABC_Noten/%.abc,Noten/%.pdf,$(wildcard ABC_Noten/*.abc))

# Target definitions for song PDFs
PDFs/%.pdf: Lieder/%.tex Noten
Expand Down
25 changes: 22 additions & 3 deletions Tools/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
FROM ubuntu:bionic as abcm2ps_builder

RUN apt-get update \
&& apt-get install --no-install-recommends -y \
make \
gcc \
libc6-dev \
&& apt-get clean

WORKDIR /tmp/
ADD https://github.com/leesavide/abcm2ps/archive/v8.14.1.tar.gz abcm2ps-8.14.1.tar.gz
RUN tar -xf abcm2ps-8.14.1.tar.gz

WORKDIR /tmp/abcm2ps-8.14.1/
RUN ./configure
RUN make install


FROM ubuntu:bionic
LABEL maintainer="[email protected]"
LABEL description="A docker image for build the Pfadiralala IV VCP Kurhessen (german scouts) songbook."
Expand All @@ -6,17 +24,18 @@ LABEL version="1.0"
ENV DEBIAN_FRONTEND noninteractive

RUN apt-get update \
&& apt-get install -y \
&& apt-get install --no-install-recommends -y \
texlive-latex-base \
texlive-latex-extra \
texlive-fonts-recommended \
texlive-extra-utils \
texlive-lang-german \
xzdec \
abcm2ps \
ghostscript \
make \
&& apt-get clean

RUN mkdir /PfadiralalaIV
WORKDIR /PfadiralalaIV
WORKDIR /PfadiralalaIV

COPY --from=abcm2ps_builder /usr/local/bin/abcm2ps /usr/local/bin/

0 comments on commit a83bdbc

Please sign in to comment.