Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Gepetto
Articles
Commits
e1854086
Commit
e1854086
authored
Sep 21, 2021
by
Guilhem Saurel
Browse files
makefile: clean & deploy
parent
77fbf864
Pipeline
#16130
passed with stage
in 8 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
e1854086
SOURCES
=
$(
filter-out
README.md,
$(
wildcard
*
.md
))
OUTPUTS
=
$
(
SOURCES:%.md
=
public/%.html
)
DEST
=
"/net/cubitus/projects/Partage_GEPETTO/Public/articles"
all
:
${OUTPUTS}
public/%.html
:
%.md template.html bibliography.bib
pandoc
-s
-F
pandoc-citeproc
--template
template.html
-o
$@
$<
all
:
public/cosyslam.html
clean
:
rm
-f
${OUTPUTS}
deploy
:
all
mkdir
-p
${DEST}
cp
${OUTPUTS}
${DEST}
chown
-R
:gepetto
${DEST}
chmod
-R
a+rX,g+w
${DEST}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment