/Makefile (f8801648fd4ba5843a2cbca8b10e4f69ba5d9b25) (1997 bytes) (mode 100644) (type blob)
###
# Refer to notes/Makefie
# for an explanation of the makefiles.
###
MAKEFLAGS:= -j
###
# "Phony" rule to compile the "auxiliary" files (readme, contrib, etc.).
###
OPTIONSPANDOCAUX:= -s --self-contained --toc --toc-depth=2 --filter pandoc-numbering --citeproc -M date="$$(LANG=en_us_88591 date '+%B %e, %Y (%r)')" --bibliography notes/bib/bib.bib --css=notes/style/style.css --resource-path .:install/img -B notes/style/foldable_toc.html --section-divs
# Options common to all invokations of pandoc. Cf https://pandoc.org/MANUAL.html to understand them.
# --citeproc used to be --filter pandoc-citeproc
AUX_FILES = *.md install/INSTALL.md
.PHONY: aux $(AUX_FILES)
aux : $(AUX_FILES)
$(AUX_FILES):
pandoc $(OPTIONSPANDOCAUX) $@ -o $(addsuffix .html,$(basename $@))
###
# "Phony" rule to publish the compiled lecture notes and the auxiliary files to the website.
##
.PHONY: push
push:
cp notes/lectures_notes.pdf ~/travail/upload/site/spots/db/ln/CSCI_3410_lecture_notes.pdf
cp notes/lectures_notes.html ~/travail/upload/site/spots/db/ln/CSCI_3410_lecture_notes.html
cp notes/lectures_notes.odt ~/travail/upload/site/spots/db/ln/CSCI_3410_lecture_notes.odt
cp README.html ~/travail/upload/site/spots/db/ln/README.html
cp CONTRIB.html ~/travail/upload/site/spots/db/ln/CONTRIB.html
cp KNOWN_BUGS.html ~/travail/upload/site/spots/db/ln/KNOWN_BUGS.html
cp LICENSE.html ~/travail/upload/site/spots/db/ln/LICENSE.html
cp install/INSTALL.html ~/travail/upload/site/spots/db/ln/install/INSTALL.html
##
# "Phony" rule to remove the temporary files.
##
.PHONY: clean
clean:
rm -f notes/*.pdf notes/*.odt notes/*.html notes/*.tex
rm -f *.html install/*.html *.pdf
rm -f install/test/*.html install/test/*.pdf install/test/*.html
rm -f notes/code/java/*.class
find notes/fig/*/ -type f -not -name '*.tex' -and -not -name '*.def' -and -not -name '*.sty' -delete
# Every file that does not have the extension .tex or the extension .def is removed from all the folders in fig.
Mode |
Type |
Size |
Ref |
File |
100644 |
blob |
15398 |
ee75155d2d99639acd17d31b2cc23cd752078e7e |
CONTRIB.md |
100644 |
blob |
20625 |
25b8e45e7f103089fb70fae5a219f09a29ef5312 |
KNOWN_BUGS.md |
100644 |
blob |
17217 |
e5c1f9f898cca948da42333b100e331d62b61d3c |
LICENSE.md |
100644 |
blob |
1997 |
f8801648fd4ba5843a2cbca8b10e4f69ba5d9b25 |
Makefile |
100644 |
blob |
6695 |
0b91924ffc7b73e2d36150369d4fd41a44b099c5 |
README.md |
040000 |
tree |
- |
eb7afc38251ada69e1967e1ce3e49967eca2267c |
install |
040000 |
tree |
- |
f16b283429b64b620b3bd7681a446ff54d504f84 |
notes |
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"
Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/caubert/CSCI_3410
Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/caubert/CSCI_3410
Clone this repository using git:
git clone git://git.rocketgit.com/user/caubert/CSCI_3410
You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a
merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main