Skip to content

Commit

Permalink
update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
ericabxy committed Aug 23, 2023
1 parent 679875b commit 4024501
Show file tree
Hide file tree
Showing 3 changed files with 1,492 additions and 14 deletions.
24 changes: 13 additions & 11 deletions docs/Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
%.html: %.md
echo '<!DOCTYPE html>' > $@
echo '<html>' >> $@
echo '<head>' >> $@
echo '<link rel="stylesheet" type="text/css" href="style.css" />' >> $@
echo '</head>' >> $@
echo '' >> $@
echo '<body>' >> $@
markdown $< >> $@
echo '<hr style="clear:both;">' >> $@
echo '</body>' >> $@
echo '</html>' >> $@
perl -e 'print "<!DOCTYPE html>\n"' > $@
perl -e 'print "<html lang=\"en-us\">\n"' >> $@
perl -e 'print "<head>\n"' >> $@
perl -e 'print "<title>\n"' >> $@
perl -e 'print "Command Utility Access and Retrieval System\n"' >> $@
perl -e 'print "</title>\n"' >> $@
perl -e 'print "<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n"' >> $@
perl -e 'print "<link rel=\"stylesheet\" type=\"text/css\" href=\"style.css\" />\n"' >> $@
perl -e 'print "</head>\n\n"' >> $@
perl -e 'print "<body>\n"' >> $@
perl Markdown.pl $< >> $@
perl -e 'print "</body>\n"' >> $@
perl -e 'print "</html>\n"' >> $@
Loading

0 comments on commit 4024501

Please sign in to comment.