48 lines
875 B
Makefile
48 lines
875 B
Makefile
SHELL = /bin/sh
|
|
|
|
version_id = 1.0
|
|
|
|
TEMPDIR = /tmp
|
|
|
|
sunet_files = Readme \
|
|
cgi-script.scm \
|
|
cgi-server.scm \
|
|
conditionals.scm \
|
|
crlf-io.scm \
|
|
htmlout.scm \
|
|
http-top.scm \
|
|
httpd/access-control.scm \
|
|
httpd/core.scm \
|
|
httpd/error.scm \
|
|
httpd/handlers.scm \
|
|
info-gateway.scm \
|
|
rman-gateway.scm \
|
|
modules.scm \
|
|
parse-forms.scm \
|
|
program-modules.scm \
|
|
rfc822.scm \
|
|
scheme-program-server.scm \
|
|
server.scm \
|
|
seval.scm \
|
|
smtp.scm \
|
|
stringhax.scm \
|
|
su-httpd.txt \
|
|
toothless.scm \
|
|
uri.scm \
|
|
url.scm
|
|
|
|
|
|
sunet-$(version_id).tar.gz: $(sunet_files)
|
|
sunet_root=`pwd`; \
|
|
mkdir $(TEMPDIR)/sunet-$(version_id); \
|
|
cp $(sunet_files) $(TEMPDIR)/sunet-$(version_id); \
|
|
cd $(TEMPDIR); \
|
|
tar czf sunet-$(version_id).tar.gz sunet-$(version_id); \
|
|
mv sunet-$(version_id).tar.gz $$sunet_root; \
|
|
rm -rf sunet-$(version_id)
|
|
|
|
.PHONY: tags
|
|
tags:
|
|
find -name "*.scm" | etags -
|
|
|