diff options
| author | EuAndreh <eu@euandre.org> | 2021-02-13 15:36:23 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2021-02-13 15:36:23 -0300 |
| commit | 99b55cd8de3bfb523e9765cf86b600378dea4ec5 (patch) | |
| tree | 08c729e562a27ad26c1ee58ce470f7ea7ba4deba | |
| parent | configuration.nix: (Re)add Fossil and Mercurial DVCS (diff) | |
| download | dotfiles-99b55cd8de3bfb523e9765cf86b600378dea4ec5.tar.gz dotfiles-99b55cd8de3bfb523e9765cf86b600378dea4ec5.tar.xz | |
fake-symlinks.sh: Remove Autotools flavors of projects
| -rw-r--r-- | sh/fake-symlinks.sh | 79 |
1 files changed, 8 insertions, 71 deletions
diff --git a/sh/fake-symlinks.sh b/sh/fake-symlinks.sh index c50a14f6..35111dba 100644 --- a/sh/fake-symlinks.sh +++ b/sh/fake-symlinks.sh @@ -126,13 +126,7 @@ ln_env() { export MAILING_LIST="${ML_FOR_PROJECT[$PROJECT]:-public-inbox}" export PROJECT_UC="${PROJECT_NAMES[$PROJECT]:-$PROJECT}" - if [ -f "$PREFIX/Makefile.am" ]; then - export ENABLE_AUTOTOOLS=1 - else - export ENABLE_AUTOTOOLS= - fi - - if [ -f "$PREFIX/Makefile" ] || [ -f "$PREFIX/Makefile.am" ]; then + if [ -f "$PREFIX/Makefile.in" ]; then export ENABLE_CI=1 else export ENABLE_CI= @@ -178,22 +172,7 @@ ln_init() { if [ ! -d "$PREFIX" ]; then git init "$PREFIX" fi -} - -ln_autotools() { - chmod +w "$PREFIX/INSTALL" 2> /dev/null ||: - cp_all AUTHORS \ - bootstrap \ - ChangeLog - - cp_if_not description - - # assumes: - # - ln_workflow for .gitignore - # - ln_git_notes_release for Makefile.am - # - ln_guix_files for Makefile.am - envsubst_if_not ..gitignore - sed_if_not configure.ac Makefile.am + cp_if_not description long-description } ln_build_aux() { @@ -268,49 +247,6 @@ ln_antora() { ln_dicts } -ln_base_autotools_guix_project() { - ln_env "$1" - ln_init - - ln_build_aux - ln_guix_files - ln_git_notes_release - ln_autotools - - ln_agpl - ln_ci - - ln_dicts - - if [ -n "$ENABLE_GUILE" ]; then - cp_all aux/automake/guile.am aux/m4/guile.m4 - fi -} - -ln_texinfo_autotools_guix_project() { - ln_base_autotools_guix_project "$1" - RENAME_TO="doc/$PROJECT.texi" envsubst_if_not rename/empty-texinfo.texi - ln_web_assets_file texinfo - cp_all aux/docbook-xsl.tar.gz -} - -ln_sphinx_autotools_guix_project() { - ln_base_autotools_guix_project "$1" - cp_all aux/assert-docs-spelling.sh doc/_templates/footer.html doc/favicon.ico - envsubst_all doc/conf.py.in doc/_templates/layout.html - envsubst_if_not doc/index.rst - cp_if_not doc/i18n-pagenames.json doc/Makefile -} - -ln_scribble_autotools_guix_project() { - ln_base_autotools_guix_project "$1" - ln_scribble -} - -ln_antora_autotools_guix_project() { - ln_base_autotools_guix_project "$1" - ln_antora -} ln_simple_makefile() { envsubst_if_not Makefile @@ -409,16 +345,17 @@ ln_all() { done } -ln_all ln_texinfo_autotools_guix_project guile-quickcheck guile-pds cement songbooks -ln_all ln_sphinx_autotools_guix_project mediator +# ln_all ln_texinfo_autotools_guix_project guile-quickcheck guile-pds cement songbooks +# ln_all ln_sphinx_autotools_guix_project mediator # ln_all ln_scribble_autotools_guix_project -ln_all ln_antora_autotools_guix_project byopds +# ln_all ln_antora_autotools_guix_project byopds ln_all ln_description_foreign_project guix \ apollo-server-demo \ ml-archives \ 3rd-party-archives ln_all ln_makefile_only_project boneco \ - pdfs-da-d-maria + pdfs-da-d-maria \ + euandreh-package-repository \ ln_all ln_makefile_only_guix_project vps \ pires \ remembering \ @@ -433,7 +370,7 @@ ln_all ln_makefile_only_guix_project vps \ standardify \ autoqemu \ yoctoauth \ - euandreh-package-repository + paku ln_all ln_bare_project brinquedoteca \ casa-do-caminho \ music \ |
