1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/sheepyang_study-code

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать
makefile-admin 2.8 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
Charles Karney Отправлено 24.10.2015 13:31 5f11695
# -*- 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

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/sheepyang_study-code.git
git@api.gitlife.ru:oschina-mirror/sheepyang_study-code.git
oschina-mirror
sheepyang_study-code
sheepyang_study-code
master