forked from geographiclib/geographiclib
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile-admin
More file actions
23 lines (19 loc) · 833 Bytes
/
makefile-admin
File metadata and controls
23 lines (19 loc) · 833 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# -*- Makefile -*-
# ssh -t karney,geographiclib@shell.sourceforge.net create
# git: /home/git/p/geographiclib/code.git
# web: /home/project-web/geographiclib
# files: /home/frs/project/geographiclib
USER=karney
STAGE=$(HOME)/web
WEBSTAGE=$(STAGE)/geographiclib-web
DATASTAGE=$(STAGE)/geographiclib-files
SCRIPTSTAGE=$(WEBSTAGE)/htdocs/scripts
distrib-cgi:
for f in GeoConvert GeodSolve GeoidEval Planimeter RhumbSolve printlogs Geod; do \
a=cgi-bin/$$f.cgi; b=$(WEBSTAGE)/cgi-bin/$$f; \
install -C $$a $$b; done
for f in utils; do \
a=cgi-bin/$$f.sh; b=$(WEBSTAGE)/cgi-bin/$$f.sh; \
install -C -m 644 $$a $$b; done
rsync --exclude '*~' --exclude '#*' --exclude '.#*' --delete --delete-excluded -av -e ssh $(WEBSTAGE)/{cgi-bin,geoids} $(USER),geographiclib@web.sourceforge.net:./
.PHONY: distrib-files distrib-cgi