From 76ae874505d5cc293b997278924681afc3decbb2 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 25 Oct 2017 13:39:10 +0200 Subject: Cleaned up build framework --- .gitignore | 1 - all.gup | 3 --- gup/all.gup | 3 +++ gup/literature.bibtex.gup | 9 +++++++++ gup/literature.meta.yml.gup | 4 ++++ literature.bibtex.gup | 9 --------- literature.meta.yml | 5 +++++ literature.meta.yml.gup | 11 ----------- 8 files changed, 21 insertions(+), 24 deletions(-) delete mode 100644 all.gup create mode 100644 gup/all.gup create mode 100755 gup/literature.bibtex.gup create mode 100644 gup/literature.meta.yml.gup delete mode 100755 literature.bibtex.gup create mode 100644 literature.meta.yml delete mode 100755 literature.meta.yml.gup diff --git a/.gitignore b/.gitignore index 69c5fde..fb55372 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ literature.pdf -literature.meta.yml **/.gup /literature.bibtex diff --git a/all.gup b/all.gup deleted file mode 100644 index ad40ad4..0000000 --- a/all.gup +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/env sh - -gup -u literature.pdf diff --git a/gup/all.gup b/gup/all.gup new file mode 100644 index 0000000..ad40ad4 --- /dev/null +++ b/gup/all.gup @@ -0,0 +1,3 @@ +#!/usr/bin/env sh + +gup -u literature.pdf diff --git a/gup/literature.bibtex.gup b/gup/literature.bibtex.gup new file mode 100755 index 0000000..cabebc3 --- /dev/null +++ b/gup/literature.bibtex.gup @@ -0,0 +1,9 @@ +#!/usr/bin/env zsh + +typeset -a bibFiles +bibFiles=(literature/**/*.bibtex) + +gup --contents <<<${bibFiles} +gup -u ${bibFiles} + +cat ${bibFiles} >$1 \ No newline at end of file diff --git a/gup/literature.meta.yml.gup b/gup/literature.meta.yml.gup new file mode 100644 index 0000000..952842a --- /dev/null +++ b/gup/literature.meta.yml.gup @@ -0,0 +1,4 @@ +#!/usr/bin/env zsh + +gup -u literature.bibtex +gup --leave diff --git a/literature.bibtex.gup b/literature.bibtex.gup deleted file mode 100755 index cabebc3..0000000 --- a/literature.bibtex.gup +++ /dev/null @@ -1,9 +0,0 @@ -#!/usr/bin/env zsh - -typeset -a bibFiles -bibFiles=(literature/**/*.bibtex) - -gup --contents <<<${bibFiles} -gup -u ${bibFiles} - -cat ${bibFiles} >$1 \ No newline at end of file diff --git a/literature.meta.yml b/literature.meta.yml new file mode 100644 index 0000000..9eb6cc7 --- /dev/null +++ b/literature.meta.yml @@ -0,0 +1,5 @@ +--- +lang: de-de +link-citations: true +bibliography: literature.bibtex +... diff --git a/literature.meta.yml.gup b/literature.meta.yml.gup deleted file mode 100755 index 64ad0fd..0000000 --- a/literature.meta.yml.gup +++ /dev/null @@ -1,11 +0,0 @@ -#!/usr/bin/env zsh - -gup -u literature.bibtex - -cat >$1 <<-EOF - --- - lang: de-de - link-citations: true - bibliography: literature.bibtex - ... - EOF -- cgit v1.2.3