Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mooc-rr-ressources
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Learning Lab
mooc-rr-ressources
Commits
d2038635
Commit
d2038635
authored
Jul 19, 2018
by
Arnaud Legrand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Makefile to ease Laurence's life
parent
32c0f278
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
Makefile
module1/ressources/Makefile
+5
-0
Makefile
module2/ressources/Makefile
+4
-0
No files found.
module1/ressources/Makefile
View file @
d2038635
all
:
introduction_to_markdown.html
all
:
introduction_to_markdown.html
NLINES
=
10000000
%.html
:
%.org
%.html
:
%.org
emacs
-batch
$^
--funcall
org-html-export-to-html
emacs
-batch
$^
--funcall
org-html-export-to-html
sed
-i
's/<pre /<pre style="padding-left: 30px; background-color: #f6f8fa;" /g'
$@
sed
-i
's/<pre /<pre style="padding-left: 30px; background-color: #f6f8fa;" /g'
$@
mv
$@
$@
.bak
cat
$@
.bak |
grep
-A
$(NLINES)
-e
'<body>'
|
grep
-B
$(NLINES)
-e
'<div id="postamble" class="status">'
|
grep
-v
-e
'<body>'
-e
'<div id="postamble" class="status">'
>
$@
module2/ressources/Makefile
View file @
d2038635
all
:
emacs_orgmode.html jupyter.html rstudio.html
all
:
emacs_orgmode.html jupyter.html rstudio.html
NLINES
=
10000000
%.html
:
%.org
%.html
:
%.org
emacs
-batch
$^
--funcall
org-html-export-to-html
emacs
-batch
$^
--funcall
org-html-export-to-html
sed
-i
's/<pre /<pre style="padding-left: 30px; background-color: #f6f8fa;" /g'
$@
sed
-i
's/<pre /<pre style="padding-left: 30px; background-color: #f6f8fa;" /g'
$@
mv
$@
$@
.bak
cat
$@
.bak |
grep
-A
$(NLINES)
-e
'<body>'
|
grep
-B
$(NLINES)
-e
'<div id="postamble" class="status">'
|
grep
-v
-e
'<body>'
-e
'<div id="postamble" class="status">'
>
$@
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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