Skip to content

Commit

Permalink
Fix various bugs in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
mhucka committed Apr 2, 2022
1 parent 42d32a0 commit 4caa5fa
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ pagetmpl := dev/one-page-docs/pandoc-template/template.html5
pagecss := dev/one-page-docs/sakura-css/sakura.css
# These next ones are for the Windows installer, but I have to create them
# using this Makefile.
aboutfile := README.html
aboutfile := ABOUT.html
winreadme := dev/one-page-docs/read-me-first-windows/read-me-first.html
macreadme := dev/one-page-docs/read-me-first-macos/read-me-first.html

Expand Down Expand Up @@ -148,8 +148,8 @@ dist-dirs:

extra-files: dist-dirs $(aboutfile) $(winreadme) $(macreadme) ABOUT.html

ABOUT.html: $(aboutfile)
mv $(aboutfile) ABOUT.html
$(aboutfile): README.html
mv README.html ABOUT.html

%.html: %.md
pandoc --metadata title="Foliage" --template=$(pagetmpl) -c $(pagecss) -o tmp.html $<
Expand Down Expand Up @@ -287,7 +287,7 @@ clean: clean-dist clean-build clean-release clean-other

really-clean: clean really-clean-dist really-clean-build

completely-clean: really-clean
completely-clean: really-clean clean-other
rm -rf build dist

clean-dist: vars
Expand All @@ -313,7 +313,8 @@ clean-other:;

.PHONY: release release-on-github update-init update-meta update-citation \
print-instructions packages clean test-pypi pypi extra-files dmg \
pyinstaller
pyinstaller clean clean-dist clean-build clean-release clean-other \
really-clean really-clean-dist really-clean-build completely-clean

.SILENT: clean clean-dist clean-build clean-release clean-other really-clean \
really-clean-dist really-clean-build completely-clean

0 comments on commit 4caa5fa

Please # to comment.