Skip to content

Commit 49e7b9f

Browse files
authored
Merge pull request #374 from sysprog21/refine
Expand kernel module guide
2 parents 8f6201b + 1d15f71 commit 49e7b9f

2 files changed

Lines changed: 214 additions & 5 deletions

File tree

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ html: lkmpg.tex html.cfg assets/Manrope_variable.ttf $(wildcard examples/*.[ch]
1313
import re, sys; \
1414
f=open('html/lkmpg-for-ht.html','r'); s=f.read(); f.close(); \
1515
s=re.sub(r\"(<span class='ecrm-0500'>\d+)([ ]+)</span>\",lambda m:m.group(1)+'</span>'+' '*int(len(m.group(2))*4/7),s); \
16+
s=re.sub(r\"(<span class='ecrm-0500'>\d+)\n</span>\",lambda m:m.group(1)+'</span>\n',s); \
1617
f=open('html/lkmpg-for-ht.html','w'); f.write(s); f.close()"
1718
ln -sf lkmpg-for-ht.html html/index.html
1819
cp assets/Manrope_variable.ttf html/Manrope_variable.ttf

0 commit comments

Comments
 (0)