1 Star 11 Fork 7

个人项目学习 / GeographicLib

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
makefile-admin 2.76 KB
一键复制 编辑 原始数据 按行查看 历史
# -*- Makefile -*-
# ssh -t karney,geographiclib@shell.sourceforge.net create
# git: /home/git/p/geographiclib/code.git
USER=karney
STAGE=$(HOME)/web
WEBSTAGE=$(STAGE)/geographiclib-web
DATASTAGE=$(STAGE)/geographiclib-files
SCRIPTSTAGE=$(WEBSTAGE)/htdocs/scripts
geodesic-papers/biblio.html: geodesic-biblio.txt biblio.sh
sh biblio.sh $< > $@
distrib-html: geodesic-papers/biblio.html
rsync -av --exclude .svn --exclude '.git*' --exclude '*~' --exclude '.#*' --exclude '#*' --delete --delete-excluded default.css index.html robots.txt google*html tm.html tm-addenda.html tm-grid.kmz geod.html geod-addenda.html bessel-errata.html jacobi-errata.html *-figs.pdf geodesic-papers $(WEBSTAGE)/htdocs/
rsync --delete -av -e ssh $(WEBSTAGE)/htdocs $(USER),geographiclib@web.sourceforge.net:./
distrib-doc:
rsync --delete -av -e ssh $(WEBSTAGE)/htdocs $(USER),geographiclib@web.sourceforge.net:./
distrib-files:
rsync -av --exclude .svn --exclude '.git*' --delete distrib testdata geoids-distrib gravity-distrib magnetic-distrib $(DATASTAGE)/
rsync --exclude '*~' --exclude '#*' --exclude '.#*' --exclude .svn --exclude '.git*' --delete --delete-excluded -av -e ssh $(DATASTAGE)/{distrib,testdata,{geoids,gravity,magnetic}-distrib} $(USER)@frs.sourceforge.net:/home/frs/project/geographiclib/
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:./
distrib-js:
rsync --exclude '*~' --exclude '.#*' --exclude '#*' --delete --delete-excluded -av -e ssh $(SCRIPTSTAGE)/test/ $(USER),geographiclib@web.sourceforge.net:./htdocs/scripts/test/
install-js:
find $(SCRIPTSTAGE)/test -type f -printf '%P\n' | \
while read f; do \
install -C -m 644 $(SCRIPTSTAGE)/test/$$f $(SCRIPTSTAGE)/$$f; \
done
t=`find $(SCRIPTSTAGE)/test/geographiclib.js -printf '%l'`; \
rm -f $(SCRIPTSTAGE)/geographiclib.js; \
ln -s $$t $(SCRIPTSTAGE)/geographiclib.js
t=`find $(SCRIPTSTAGE)/test/geographiclib.min.js -printf '%l'`; \
rm -f $(SCRIPTSTAGE)/geographiclib.min.js; \
ln -s $$t $(SCRIPTSTAGE)/geographiclib.min.js
rsync --exclude '*~' --exclude '.#*' --exclude '#*' --delete --delete-excluded -av -e ssh $(SCRIPTSTAGE)/ $(USER),geographiclib@web.sourceforge.net:./htdocs/scripts/
distrib-python: python/setup.py
cd python && python setup.py sdist --formats=gztar,zip upload
TAGS:
ls include/GeographicLib/*hpp src/*.cpp tools/*.cpp | xargs etags
.PHONY: distrib-html distrib-files distrib-cgi distrib-js distrib-python TAGS
C++
1
https://gitee.com/sheepyang_study/code.git
git@gitee.com:sheepyang_study/code.git
sheepyang_study
code
GeographicLib
master

搜索帮助