aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-12-04 09:32:22 -0300
committerEuAndreh <eu@euandre.org>2020-12-04 09:33:21 -0300
commit1c34b5f6e478dbaa954f9dfd586899e74cacea3c (patch)
tree11f5651dcc17272e4948b755eef15b9410871628
parentfake-symlinks.sh: Fix normalization of names (diff)
downloaddotfiles-1c34b5f6e478dbaa954f9dfd586899e74cacea3c.tar.gz
dotfiles-1c34b5f6e478dbaa954f9dfd586899e74cacea3c.tar.xz
fake-symlinks.sh: Copy Guile files conditionally, add simple Makefile
Diffstat (limited to '')
-rw-r--r--bash/fake-symlinks.sh12
-rw-r--r--bash/templates/Makefile13
2 files changed, 20 insertions, 5 deletions
diff --git a/bash/fake-symlinks.sh b/bash/fake-symlinks.sh
index d0c377dc..5defce35 100644
--- a/bash/fake-symlinks.sh
+++ b/bash/fake-symlinks.sh
@@ -141,10 +141,6 @@ ln-guix-container() {
cp-if-not guix/channels.scm guix/manifest.scm
}
-ln-guile-files() {
- cp-all build-aux/guile.am build-aux/pre-inst-env.in m4/guile.m4
-}
-
ln-ci() {
cp-all scripts/assert-shellcheck.sh
@@ -202,13 +198,19 @@ ln-base-autotools-guix-project() {
ln-autotools
ln-agpl
- ln-guile-files
ln-ci
}
+ln-guile-files() {
+ if [[ "$PROJECT" = guile* ]]; then
+ cp-all build-aux/guile.am build-aux/pre-inst-env.in m4/guile.m4
+ fi
+}
+
ln-texinfo-autotools-guix-project() {
ln-base-autotools-guix-project "$1"
ln-texinfo
+ ln-guile-files
}
ln-sphinx-autotools-guix-project() {
diff --git a/bash/templates/Makefile b/bash/templates/Makefile
new file mode 100644
index 00000000..7a2d30e0
--- /dev/null
+++ b/bash/templates/Makefile
@@ -0,0 +1,13 @@
+.PHONY: check
+check:
+ bash scripts/assert-shellcheck.sh
+ bash scripts/assert-todos.sh
+
+.PHONY: clean
+clean:
+ rm -rf public/
+
+.PHONY: public
+public:
+ bash ./scripts/generate-tasks-and-bugs.sh
+ pandoc -s --metadata title='$PROJECT_UC - EuAndreh' -c styles.css -o public/index.html README.md