1
0

8 Commits

5 changed files with 58 additions and 4 deletions

1
.gitignore vendored
View File

@ -29,6 +29,7 @@
translators.tex
build-time.tex
build-ver.tex
result
## Generated if empty string is given at "Please type another file name for output:"
.pdf

View File

@ -1,10 +1,18 @@
dist: bionic
sudo: required
before_install:
- sudo apt update
- sudo apt install texlive-full rubber pandoc
script:
- make
deploy:
provider: releases
api_key:
secure: qfh2UwOE2Flxc3SViull52SDqXUGeh+tXg6xvV+H1rmc8Y79B/T80+i9gpNLedqF0BOFPiuxnaITBccjH8hzFs/n0EjOScsWo1xESi81qXNSIZQ/+wvK8fStyUAJJIgRZa5A74lGywk+Q1TKESY2/JTiOKhvjvwPrK0mjX02yXbCFYh8vMYDvo3snjEBka5VWRVb9Q+X9shDesEN2GbAXhGCyY+TQJ5Ec/jXmnO0JF4RQgyChgW1wUd7wjhivvEOl+xmQZZzYGlXj24uJ7dI7cA6/lnzrTz/5k43UDw4OcX7/I6SARdVVsmECCrFEVTVUB4eOMLBg7xyKlhFUHvss+cYAUwpVIyfs0OJNcEnNub01EIKjqZDsUoUIjC8uUFXCfpSkuQZoNsEjgkBJbR2Uzoe5vJulCwjyABO7LXirZjN12wpVPfuxEPlELYXwd037VuiyMGmNxU830j+L+R7BV8WSr071C0y3gJOfKNAw2M9E6A1DUQJ4kWepS0wSf2BPK5W8vydK3X3sY5DGAU5jB6ITAnFlH1LC/UGLc2dub5o2wBCsYzj2LTB5jRhMR9F6hlvRD9hVynMgp5/Ywsacm6JVPTyhr/8YY2IXyuYUSX5YV9AbqxCjaqwrMF5zMMtFENisw0XvLAqLH6kFoASOdaDHZthG1MuXGTbAlxDpOw=
file_glob: true
file: faif-2.0-v*
skip_cleanup: true
on:
tags: true

View File

@ -1,4 +1,4 @@
[![Build Status](https://travis-ci.org/jollheef/free-as-in-freedom-v2-ru.svg?branch=master)](https://travis-ci.org/jollheef/free-as-in-freedom-v2-ru)
[![Build Status](https://travis-ci.com/jollheef/free-as-in-freedom-v2-ru.svg?branch=primary)](https://travis-ci.org/jollheef/free-as-in-freedom-v2-ru)
[![Donate](https://img.shields.io/badge/Donate-BitCoin-green.svg)](https://blockchair.com/bitcoin/address/bc1q23fyuq7kmngrgqgp6yq9hk8a5q460f39m8nv87)
# [Ричард Столлман и революция свободного программного обеспечения](https://code.dumpstack.io/etc/free-as-in-freedom-v2-ru)
@ -12,7 +12,7 @@
#### [Nix](https://nixos.org/nix/download.html):
nix-shell -p texlive.combined.scheme-full -p rubber -p pandoc --run make
nix-shell --pure --run make
#### Debian/Ubuntu:

26
default.nix Normal file
View File

@ -0,0 +1,26 @@
{ pkgs ? import <nixpkgs> {} }:
pkgs.stdenv.mkDerivation {
pname = "free-as-in-freedom-v2-ru";
version = "0.99.5";
src = ./.;
FONTCONFIG_FILE = pkgs.makeFontsConf {
fontDirectories = [ pkgs.liberation_ttf ];
};
LANG = "C.UTF-8";
buildInputs = with pkgs; [
git utillinux gnumake
texlive.combined.scheme-full rubber
pandoc
];
installPhase = ''
mkdir -p $out
cp faif-2.0.{fb2,pdf} $out/
'';
}

19
shell.nix Normal file
View File

@ -0,0 +1,19 @@
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
name = "free-as-in-freedom-v2-ru";
FONTCONFIG_FILE = pkgs.makeFontsConf {
fontDirectories = [ pkgs.liberation_ttf ];
};
buildInputs = with pkgs; [
git utillinux gnumake
texlive.combined.scheme-full rubber
pandoc
];
shellHook = ''
export LANG=C.UTF-8
'';
}