forked from AdrianoRuseler/abntex2-ufsc
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request mateusduboli#20 from evandrocoan/master
Altera os links dos submódulos para domínio github.com/ufsc
- Loading branch information
Showing
11 changed files
with
481 additions
and
313 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,9 @@ | |
/.gitignore | ||
/example.pdf | ||
/tmp | ||
/cache | ||
/latexcache | ||
/.time_flag.txt | ||
|
||
*.sublime-workspace | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[submodule "imagens"] | ||
path = pictures | ||
url = https://github.com/evandrocoan/abntex2-ufsc-imagens.git | ||
url = https://github.com/ufsc/ufscthesisx-images | ||
[submodule "setup"] | ||
path = setup | ||
url = https://github.com/evandrocoan/ufscthesisx-setup | ||
url = https://github.com/ufsc/ufscthesisx-setup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,58 @@ | ||
#!/usr/bin/make -f | ||
# https://stackoverflow.com/questions/7123241/makefile-as-an-executable-script-with-shebang | ||
# | ||
# Copyright 2017-2019 @ Evandro Coan | ||
# Helper functions and classes | ||
# | ||
# Redistributions of source code must retain the above | ||
# copyright notice, this list of conditions and the | ||
# following disclaimer. | ||
# | ||
# Redistributions in binary form must reproduce the above | ||
# copyright notice, this list of conditions and the following | ||
# disclaimer in the documentation and/or other materials | ||
# provided with the distribution. | ||
# | ||
# Neither the name Evandro Coan nor the names of any | ||
# contributors may be used to endorse or promote products | ||
# derived from this software without specific prior written | ||
# permission. | ||
# | ||
# This program is free software; you can redistribute it and/or modify it | ||
# under the terms of the GNU General Public License as published by the | ||
# Free Software Foundation; either version 3 of the License, or ( at | ||
# your option ) any later version. | ||
# | ||
# This program is distributed in the hope that it will be useful, but | ||
# WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
# General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU General Public License | ||
# along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
# | ||
ECHOCMD:=/bin/echo -e | ||
SHELL := /bin/bash | ||
|
||
useless := $(eval export UFSCTHESISX_RSYNC_DIRECTORY=.) | ||
useless := $(eval export UFSCTHESISX_MAINTEX_DIRECTORY=.) | ||
ifeq (${UFSCTHESISX_RSYNC_DIRECTORY},) | ||
useless := $(eval export UFSCTHESISX_RSYNC_DIRECTORY=.) | ||
endif | ||
|
||
ifeq (${UFSCTHESISX_MAINTEX_DIRECTORY},) | ||
useless := $(eval export UFSCTHESISX_MAINTEX_DIRECTORY=.) | ||
endif | ||
|
||
ifeq (${UFSCTHESISX_ROOT_DIRECTORY},) | ||
useless := $(eval export UFSCTHESISX_ROOT_DIRECTORY=LatexBuild/ufscthesisx) | ||
endif | ||
|
||
ifeq (${UFSCTHESISX_REMOTE_PASSWORD},) | ||
useless := $(eval export UFSCTHESISX_REMOTE_PASSWORD=admin123) | ||
endif | ||
|
||
ifeq (${UFSCTHESISX_REMOTE_ADDRESS},) | ||
useless := $(eval export [email protected]) | ||
endif | ||
|
||
include ./setup/makefile.mk | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -181,21 +181,28 @@ $ make help | |
https://github.com/clarkwang/passh | ||
You can define the following parameters: | ||
1. LATEXPASSWORD - the remote machine SHH password | ||
2. LATEXADDRESS - the remote machine 'user@ipaddress' | ||
3. rules - the rules/arguments to pass to the remote invocation of make | ||
4. args - arguments to pass to the rsync program | ||
5. dir - the directory to put the files, defaults to '~/LatexBuild' | ||
4. args - arguments to pass to the rsync program, see 'rsync --help' | ||
3. rules - the rules/arguments to pass to the remote invocation of make | ||
5. UFSCTHESISX_ROOT_DIRECTORY - the directory to put the files, defaults to '~/LatexBuild' | ||
1. UFSCTHESISX_REMOTE_PASSWORD - the remote machine SHH password, defaults to 'admin123' | ||
2. UFSCTHESISX_REMOTE_ADDRESS - the remote machine 'user@ipaddress', defaults to '[email protected]' | ||
Example usage for Linux: | ||
make remote LATEXPASSWORD=123 [email protected] rules=latex && | ||
delete=1 dir=~/Downloads/Thesis | ||
make remote rules="latex debug=1" && | ||
debug=1 && | ||
args="--delete" | ||
UFSCTHESISX_ROOT_DIRECTORY=~/Downloads/Thesis && | ||
[email protected] && | ||
UFSCTHESISX_REMOTE_PASSWORD=123 && | ||
Example usage for Windows: | ||
set "LATEXPASSWORD=123" && set "[email protected]" && | ||
set "rules=latex" && set "delete=1" && | ||
set "dir=~/Downloads/Thesis" && | ||
make remote | ||
set "rules=latex debug=1" && | ||
set "debug=1" && | ||
set "args=--delete" && | ||
set "UFSCTHESISX_ROOT_DIRECTORY=~/Downloads/Thesis" && | ||
set "[email protected]" && | ||
set "UFSCTHESISX_REMOTE_PASSWORD=123" && | ||
make remote | ||
``` | ||
|
||
Caso você tenha problemas, | ||
|
@@ -252,6 +259,7 @@ Copyright (c) 2012-2014 by abnTeX2 group at http://abntex2.googlecode.com/ | |
Copyright (c) 2014-2015 Mateus Dubiela Oliveira | ||
Copyright (c) 2015-2016 Adriano Ruseler | ||
Copyright (c) 2017-2018 Evandro Coan, Luiz Rafael dos Santos | ||
Copyright (c) 2019-2019 Alisson Lopes Furlani | ||
É concedida permissão, gratuitamente, a qualquer pessoa que obtenha uma cópia deste modelo e | ||
software e arquivos de documentação associados (o "Software"), para ter estes arquivos com os | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.