diff options
| author | Akinori Ito <aito@eie.yz.yamagata-u.ac.jp> | 2001-11-15 00:32:13 +0000 | 
|---|---|---|
| committer | Akinori Ito <aito@eie.yz.yamagata-u.ac.jp> | 2001-11-15 00:32:13 +0000 | 
| commit | 85da7ee692072c643939e9f4b24fbd1e74e64e70 (patch) | |
| tree | 9fc63298cf968fa560a9e3cf9b6c84516032fca8 /scripts/w3mman/Makefile | |
| parent | Updates from 0.2.1 into 0.2.1-inu-1.5 (diff) | |
| download | w3m-85da7ee692072c643939e9f4b24fbd1e74e64e70.tar.gz w3m-85da7ee692072c643939e9f4b24fbd1e74e64e70.zip | |
Update to w3m-0.2.1-inu-1.6.
Diffstat (limited to '')
| -rw-r--r-- | scripts/w3mman/Makefile | 46 | 
1 files changed, 46 insertions, 0 deletions
| diff --git a/scripts/w3mman/Makefile b/scripts/w3mman/Makefile new file mode 100644 index 0000000..1e596e0 --- /dev/null +++ b/scripts/w3mman/Makefile @@ -0,0 +1,46 @@ + +prefix		= /usr/local +bindir		= $(prefix)/bin +libdir		= $(prefix)/lib +distdir		= ./distfiles + +W3M_LIBDIR	= $(libdir)/w3m + +INSTALL		= install -c +INSTALL_SCRIPT	= $(INSTALL) -m 755 + +PERL		= /usr/local/bin/perl +W3M		= w3m +# W3M		= w3m -X -o confirm_qq=0 +MAN		= man + +all: w3mman w3mman2html.cgi + +w3mman: w3mman.in Makefile +	sed -e 's%@PERL@%$(PERL)%g'	\ +	    -e 's%@W3M@%$(W3M)%g'	\ +	    -e 's%@MAN@%$(MAN)%g'	\ +	w3mman.in > w3mman +	chmod +x w3mman +	 +w3mman2html.cgi: w3mman2html.cgi.in Makefile +	sed -e 's%@PERL@%$(PERL)%g'	\ +	    -e 's%@MAN@%$(MAN)%g'	\ +	w3mman2html.cgi.in > w3mman2html.cgi +	chmod +x w3mman2html.cgi + +install: w3mman w3mman2html.cgi +	$(INSTALL_SCRIPT) w3mman $(bindir) +	$(INSTALL_SCRIPT) w3mman2html.cgi $(W3M_LIBDIR) + +dist: all +	@-rm -fr $(distdir)/w3mman +	mkdir -p $(distdir)/w3mman +	cp Makefile README w3mman w3mman.in \ +		w3mman2html.cgi w3mman2html.cgi.in hlink.cgi \ +		$(distdir)/w3mman +	( cd $(distdir); \ +		 tar -cf - w3mman | GZIP='' gzip ) \ +		> $(distdir)/w3mman.tar.gz +	-rm -fr $(distdir)/w3mman + | 
