Skip to content

Commit

Permalink
Update makefile for python3 and macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
kwankyu committed Dec 26, 2024
1 parent fae9b54 commit b06a016
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ MIRROR_FILES := scripts/mirror_list scripts/metalink.helper scripts/torrent.help
default: clean render

clean:
- mkdir -p www && cd www && find -P -delete
- mkdir -p www && cd www && find . -depth -mindepth 1 -delete

devmap: templates/devs.html

Expand All @@ -27,7 +27,7 @@ render: mirrors publications devmap
python render.py $(ARGS)

server:
cd www && python -m SimpleHTTPServer 8181
cd www && python3 -m http.server 8181

show:
python -c 'from webbrowser import open; open("http://127.0.0.1:8181/")'
Expand Down

0 comments on commit b06a016

Please sign in to comment.