• Alberto González Palomo's avatar
    Ensure docs makefile downloads theme if failed before. (#3322) · 18bb0f8f
    Alberto González Palomo authored
    
    
    The makefile did not download the theme if the directory "themes/gitea"
    is there, even if empty.
    On a fresh Ubuntu install, curl is not included, so the theme rule fails
    just after creating the empty directory. When you try again after
    installing curl, the rule is not triggered.
    
    This could also happen if the download fails for other reasons.
    
    This change makes the theme rule depend on the file "theme.toml"
    which will be there only after unpacking a successfully downloaded
    theme archive.
    Signed-off-by: default avatarAlberto González Palomo <bugs@sentido-labs.com>
    18bb0f8f
Makefile 483 Bytes