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 +#include "css.t" + + +#define CURL_URL /wcurl + +#include "_menu.html" +#include "setup.t" + +WHERE1(wcurl) + +
wcurl logo +
+ +
+Related: +
GitHub repo +
manpage +
+

+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" + + diff --git a/wcurl/_manual.html b/wcurl/_manual.html new file mode 100644 index 0000000000..472cd3a9f4 --- /dev/null +++ b/wcurl/_manual.html @@ -0,0 +1,26 @@ +#include "_doctype.html" + + wcurl - How To Use +#include "css.t" +#include "manpage.t" + + +#define CURL_WCURL +#define CURL_URL wcurl/manual.html + +#include "_menu.html" +#include "setup.t" + +WHERE2(wcurl, "/wcurl/", Manpage) + +TITLE(wcurl manpage) +

+Related: +
GitHub repo +
wcurl +
+#include "wcurl.gen" +#include "_footer.html" + + + diff --git a/wcurl/_menu.html b/wcurl/_menu.html new file mode 100644 index 0000000000..27e8fbb6de --- /dev/null +++ b/wcurl/_menu.html @@ -0,0 +1,33 @@ +#ifndef __MENU +#define __MENU + +#include "setup.t" + +#ifndef NOBODY + + +#endif + +#define SEP
+ +#define NOW(text) text +#define REF(link,text) text + +
+ + +START_OF_MAIN +#endif diff --git a/wcurl/wcurl-logo.png b/wcurl/wcurl-logo.png new file mode 100644 index 0000000000..46ee071441 Binary files /dev/null and b/wcurl/wcurl-logo.png differ