Compare commits
8 Commits
Author | SHA1 | Date | |
---|---|---|---|
679f71a941
|
|||
b8c338e62b
|
|||
899ad66a09
|
|||
fa2369e57c
|
|||
9a575ee4f2
|
|||
0f711c20f7
|
|||
cd783b7933
|
|||
c7740fed78
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -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
|
||||
|
12
.travis.yml
12
.travis.yml
@ -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
|
||||
|
@ -1,4 +1,4 @@
|
||||
[](https://travis-ci.org/jollheef/free-as-in-freedom-v2-ru)
|
||||
[](https://travis-ci.org/jollheef/free-as-in-freedom-v2-ru)
|
||||
[](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
26
default.nix
Normal 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
19
shell.nix
Normal 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
|
||||
'';
|
||||
}
|
Reference in New Issue
Block a user