@@ -12,17 +12,6 @@ test_DEPEND_DIRS = src
1212DIRS += examples
1313examples_DEPEND_DIRS = src
1414
15- BRANCH = 2-2
16- DEFAULT_REPO = /opt/repositories/controls/darcs/epics/support/seq/branch-$(BRANCH )
17- GIT_MIRROR = /opt/repositories/controls/git/seq/branch-$(BRANCH )
18- SEQ_PATH = www/control/SoftDist/sequencer-$(BRANCH )
19- USER_AT_HOST = wwwcsr@www-csr.bessy.de
20- DATE = $(shell date -I)
21- SNAPSHOT = seq-$(BRANCH ) -snapshot-$(DATE )
22- SEQ_TAG = R$(subst .,-,$(SEQ_RELEASE ) )
23- SEQ_TAG_TIME = $(shell darcs changes --all --xml-output \
24- --matches 'exact "TAG $(SEQ_TAG ) "' | perl -ne 'print "$$1.$$2" if /date=.(\d{12}) (\d{2})/')
25-
2615include $(TOP ) /configure/RULES_TOP
2716
2817html : src
@@ -36,37 +25,4 @@ docs.clean:
3625
3726realclean clean : docs.clean
3827
39- upload_docs : docs
40- rsync -r -t $(TOP ) /html/ $(USER_AT_HOST ) :$(SEQ_PATH ) /
41-
42- recreate_git_mirror :
43- rm -rf $(GIT_MIRROR )
44- git init $(GIT_MIRROR )
45- touch $(GIT_MIRROR ) /git.marks
46-
47- upload_repo :
48- darcs push $(DEFAULT_REPO )
49- cd $(DEFAULT_REPO ) && darcs push --all $(USER_AT_HOST ) :$(SEQ_PATH ) /repo/branch-$(BRANCH )
50- cd $(DEFAULT_REPO ) && darcs convert export --read-marks $(GIT_MIRROR ) /darcs.marks --write-marks $(GIT_MIRROR ) /darcs.marks | \
51- (cd $( GIT_MIRROR) && git fast-import --import-marks=git.marks --export-marks=git.marks)
52- cd $(GIT_MIRROR ) /.git && git --bare update-server-info
53- rsync -r --delete $(GIT_MIRROR ) /.git/ $(USER_AT_HOST ) :$(SEQ_PATH ) /repo/branch-$(BRANCH ) .git/
54-
55- snapshot :
56- darcs dist -d $(SNAPSHOT )
57- rsync $(SNAPSHOT ) .tar.gz $(USER_AT_HOST ) :$(SEQ_PATH ) /releases/
58- ssh $(USER_AT_HOST ) ' cd $(SEQ_PATH)/releases && ln -f -s $(SNAPSHOT).tar.gz seq-$(BRANCH)-snapshot-latest.tar.gz'
59- $(RM ) $(SNAPSHOT ) .tar.gz
60-
61- release : upload_docs upload_repo
62- darcs show files | xargs touch -t $(SEQ_TAG_TIME )
63- darcs dist -d seq-$(SEQ_RELEASE ) -t ' ^$(SEQ_TAG)$$'
64- rsync seq-$(SEQ_RELEASE ) .tar.gz $(USER_AT_HOST ) :$(SEQ_PATH ) /releases/
65- $(RM ) seq-$(SEQ_RELEASE ) .tar.gz
66-
67- changelog : force
68- DARCS_ALWAYS_COLOR=0 darcs changes -a --from-tag=. | egrep -v ' ^(Author|Date|patch)' > changelog
69-
70- force :
71-
72- .PHONY : html docs docs.clean upload_docs mirror upload_repo snapshot release recreate_git_mirror
28+ .PHONY : html docs docs.clean
0 commit comments