diff --git a/Makefile b/Makefile index f2d26022ab..8c58f221a7 100644 --- a/Makefile +++ b/Makefile @@ -58,6 +58,7 @@ all: $(PAGES) cd tiny && make cd logo && make cd trurl && make + cd wcurl && make head.html: _head.html $(MAINPARTS) $(ACTION) diff --git a/bootstrap.sh b/bootstrap.sh index 7a1a859171..3758b7b01a 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -17,6 +17,10 @@ if test ! -d trurl/trurl-www; then git clone https://github.com/curl/trurl.git trurl/trurl-www fi +if test ! -d wcurl/wcurl-repo; then + git clone https://github.com/curl/wcurl.git wcurl/wcurl-repo +fi + touch ca/cacert.pem touch ca/pemlist.gen diff --git a/wcurl/Makefile b/wcurl/Makefile new file mode 100644 index 0000000000..85f7cd7c7b --- /dev/null +++ b/wcurl/Makefile @@ -0,0 +1,32 @@ +ROOT=.. + +SRCROOT=$(ROOT)/cvssource +DOCROOT=$(SRCROOT)/docs +TESTROOT=$(SRCROOT)/tests +LIBROOT=$(SRCROOT)/lib +CURL=$(ROOT) + +include $(ROOT)/mainparts.mk +include $(ROOT)/setup.mk + +MAINPARTS += _menu.html +MKRELNOTES = ./mk-release-notes.pl +MAN2HTML = roffit --bare + +PAGES = index.html \ + manual.html + +all: $(PAGES) + (cd wcurl-repo && git pull) + +wcurl.gen: wcurl-repo/wcurl.1 + $(MAN2HTML) < $< > wcurl.gen + +manual.html: _manual.html $(MAINPARTS) wcurl.gen + $(ACTION) + +index.html: _index.html $(MAINPARTS) + $(ACTION) + +clean: + rm -f $(PAGES) diff --git a/wcurl/_index.html b/wcurl/_index.html new file mode 100644 index 0000000000..1a154ac7b5 --- /dev/null +++ b/wcurl/_index.html @@ -0,0 +1,35 @@ +#include "_doctype.html" + +
+wcurl is a command line tool which lets you download URLs without having to +remember any parameters. +
+Invoke wcurl with a list of URLs you want to download and wcurl will pick sane +defaults; using curl under the hood. + +SUBTITLE(Pronunciation) +
+ "double-u curl" + +#include "_footer.html" + +