diff --git a/www/Makefile b/www/Makefile index de6e5d12..58b74171 100644 --- a/www/Makefile +++ b/www/Makefile @@ -2,21 +2,26 @@ # This file is part of REMIND. # Copyright (C) 1992-1997 by David F. Skoll -# $Id: Makefile,v 1.3 1997-01-16 04:31:11 dfs Exp $ +# $Id: Makefile,v 1.4 1997-01-19 03:59:55 dfs Exp $ # The complete name of your www host. Example: www.mycompany.com -WWWHOST = www.skoll.ca +WWWHOST = shevy.skoll.ca # WWWHOST = www.mycompany.com # The complete path to where the scripts actually live, as seen by # the UNIX operating system. -SCRIPTDIR = /var/lib/httpd/cgi-bin +SCRIPTDIR = /var/web/cgi-bin # SCRIPTDIR = /home/dfs/Remind/www/TEST # Where the scripts live as seen from the outside world. If # they live in WWWHOST/cgi-bin, supply /cgi-bin CGIDIR = /cgi-bin +# The complete path to the HTML file "calendar.html". This is a sample +# file containing links to all the scripts. This path should be the +# path as seen by the UNIX operating system +HTMLDIR = /home/dfs/public_html + # Location. Typically, the name of your city or town. Example: Ottawa LOCATION = Ottawa # LOCATION = New York @@ -42,15 +47,17 @@ all: # OK, it's abominable. But it works... install: cp calps hebdate hebps moon sunrise sunset $(SCRIPTDIR) - sed $(SEDSCRIPT) < cal_dispatch-DIST > $(SCRIPTDIR)/cal_dispatch - sed $(SEDSCRIPT) < hebdate.rem-DIST > $(SCRIPTDIR)/hebdate.rem - sed $(SEDSCRIPT) < moon.rem-DIST > $(SCRIPTDIR)/moon.rem - sed $(SEDSCRIPT) < sunrise.rem-DIST > $(SCRIPTDIR)/sunrise.rem - sed $(SEDSCRIPT) < sunset.rem-DIST > $(SCRIPTDIR)/sunset.rem + sed $(SEDSCRIPT) < cal_dispatch-DIST > $(SCRIPTDIR)/cal_dispatch + sed $(SEDSCRIPT) < hebdate.rem-DIST > $(SCRIPTDIR)/hebdate.rem + sed $(SEDSCRIPT) < moon.rem-DIST > $(SCRIPTDIR)/moon.rem + sed $(SEDSCRIPT) < sunrise.rem-DIST > $(SCRIPTDIR)/sunrise.rem + sed $(SEDSCRIPT) < sunset.rem-DIST > $(SCRIPTDIR)/sunset.rem + sed $(SEDSCRIPT) < calendar.html-DIST > $(HTMLDIR)/calendar.html chmod 644 $(SCRIPTDIR)/sunrise.rem chmod 644 $(SCRIPTDIR)/moon.rem chmod 644 $(SCRIPTDIR)/hebdate.rem chmod 644 $(SCRIPTDIR)/sunset.rem + chmod 644 $(HTMLDIR)/calendar.html chmod 755 $(SCRIPTDIR)/cal_dispatch chmod 755 $(SCRIPTDIR)/calps $(SCRIPTDIR)/hebdate \ $(SCRIPTDIR)/hebps $(SCRIPTDIR)/moon $(SCRIPTDIR)/sunrise \ diff --git a/www/README b/www/README index e66c3fe4..00327614 100644 --- a/www/README +++ b/www/README @@ -1,5 +1,5 @@ README -$Id: README,v 1.2 1997-01-16 04:05:31 dfs Exp $ +$Id: README,v 1.3 1997-01-19 03:59:55 dfs Exp $ HTML Hebrew Calendar Server @@ -35,6 +35,10 @@ where "what" is one of: (Visit http://www.doe.carleton.ca/~dfs/ for previews.) + All of these links will be set up in a sample HTML document + called "calendar.html" and installed in the HTMLDIR you specified + in the Makefile. + 4) Enjoy! diff --git a/www/calendar.html-DIST b/www/calendar.html-DIST new file mode 100644 index 00000000..3a7fda20 --- /dev/null +++ b/www/calendar.html-DIST @@ -0,0 +1,27 @@ + + + + +David Skoll's Calendar Server + + + +

David Skoll's Calendar Server

+ + +Sunrise Information

+ +Sunset Information

+ +Moon Phase Information

+ +Blank PostScript Calendar (Approximately 20kB)

+ +Today's Hebrew Date

+ +PostScript Calendar with Jewish Holidays (Approximately 35 kB)

+


+ +Get the Remind software that provides this service.

+ + diff --git a/www/hebdate b/www/hebdate index 781f4aca..74d28227 100755 --- a/www/hebdate +++ b/www/hebdate @@ -4,9 +4,10 @@ # This file is part of REMIND. # Copyright (C) 1992-1997 by David F. Skoll -# $Id: hebdate,v 1.1 1997-01-16 04:00:27 dfs Exp $ +# $Id: hebdate,v 1.2 1997-01-19 03:59:56 dfs Exp $ echo Content-type: text/html +echo "" cat < diff --git a/www/hebps b/www/hebps index b65b7f0c..57f8b34c 100755 --- a/www/hebps +++ b/www/hebps @@ -4,11 +4,13 @@ # This file is part of REMIND. # Copyright (C) 1992-1997 by David F. Skoll -# $Id: hebps,v 1.1 1997-01-16 04:00:27 dfs Exp $ +# $Id: hebps,v 1.2 1997-01-19 03:59:56 dfs Exp $ # Figure out the month: If day <= 20, use this month; otherwise, use # next month. echo "Content-type: application/postscript" +echo "" + $REMIND - <