diff options
author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2010-03-20 20:00:40 +0000 |
---|---|---|
committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2010-03-20 20:00:40 +0000 |
commit | 56f08b5f80d39af274b273d5296e04672250411d (patch) | |
tree | 437f5b733f4f22ca58e1ec2d091255a353a427e8 /web/Makefile | |
parent | fcc25a388cf46b6fd2796879298b9581f4703418 (diff) | |
download | pandoc-56f08b5f80d39af274b273d5296e04672250411d.tar.gz |
Removed unneeded things from web directory.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1926 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'web/Makefile')
-rw-r--r-- | web/Makefile | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/web/Makefile b/web/Makefile deleted file mode 100644 index 70f088df1..000000000 --- a/web/Makefile +++ /dev/null @@ -1,55 +0,0 @@ -ALL := index.html README.html INSTALL.html examples.html pandoc.1.html markdown2pdf.1.html html2x.html changelog.txt -PANDOC_PATH ?= $(dir $(shell which pandoc)) -PANDOC_SRC ?= ${HOME}/src/pandoc -MAKEPAGE = $(PANDOC_PATH)/pandoc -s -S -H css -A footer.html - -all : $(ALL) - -.PHONY: clean -clean: - for file in $(ALL); do rm $$file; done; \ - rm -r example*; - -changelog.txt : changelog - cp $< $@ - -# 'make update' pulls in source files from the pandoc source directory -sources := $(PANDOC_SRC)/dist/doc/html $(PANDOC_SRC)/changelog \ - $(PANDOC_SRC)/INSTALL $(wildcard $(PANDOC_SRC)/man/man1/*.1) \ - $(PANDOC_SRC)/man/man1/pandoc.1.md $(PANDOC_SRC)/README -update : $(sources) - cp -r $(sources) . ; \ - mv html doc; \ - cp changelog changelog.txt - -examples.txt : mkdemos.pl config.xsl S5DEMO README demos math.text - PATH=$(PANDOC_PATH):$$PATH ./mkdemos.pl demos $@ - perl -pi -e 's!(href="(main|(my)?header|footer|example\d+)\.(html|tex|xml|css))"!\1.html"!g' $@ - for file in $$(ls | egrep '(main|(my)?header|footer|example[0-9]+)\.(html|tex|xml|css)$$'); \ - do highlight -k monospace -u utf-8 --style emacs $$file > $$file.html; \ - done - -examples.html : examples.txt - $(PANDOC_PATH)/pandoc -s -H css -A footer.html $< > $@ - -index.html : index.txt css - $(MAKEPAGE) --toc $< > $@ - -README.html : README css - $(MAKEPAGE) --toc $< > $@ - -INSTALL.html : INSTALL css - $(MAKEPAGE) --toc $< > $@ - -%.html : %.txt css - $(MAKEPAGE) $< > $@ - -%.1.html : %.1 - groff -man -T html $< > $@ - -%.html : % css - $(MAKEPAGE) $< > $@ - -upload : - rsync -avz --exclude-from=excludes --delete --copy-links -e "ssh -p 24816" . website:html/pandoc/ - |