Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
trebb committed Jun 11, 2008
1 parent e8658e8 commit 28e57ae
Show file tree
Hide file tree
Showing 5 changed files with 162 additions and 158 deletions.
1 change: 1 addition & 0 deletions DATE.tex
@@ -0,0 +1 @@
2008-06-11
19 changes: 11 additions & 8 deletions Makefile
Expand Up @@ -24,9 +24,9 @@ CP = cp --verbose
RM = rm --force --verbose RM = rm --force --verbose
MV = mv --force --verbose MV = mv --force --verbose
MAKE = make MAKE = make
BZR_REVISION = bzr revno BZR_REVISION = bzr revno | tr -d '\n\\'
BZR_EXPORT = bzr export BZR_EXPORT = bzr export
DATE = date -I DATE = date -I | tr -d '\n\\'
RSYNC = rsync -va RSYNC = rsync -va


all: letter a4 all: letter a4
Expand Down Expand Up @@ -77,23 +77,23 @@ paper-letter.flag:
$(RM) paper-a4.flag $(SEND-TO-LOG) $(RM) paper-a4.flag $(SEND-TO-LOG)
$(TOUCH) $@ $(TOUCH) $@


REVISION.tex: $(CLQR).tex $(CLQR)-*.tex REVISION.tex: DATE.tex
if $(BZR_REVISION); then $(BZR_REVISION) > $@; else $(TOUCH) $@; fi $(SEND-TO-LOG) if $(BZR_REVISION); then $(BZR_REVISION) > $@; else $(TOUCH) $@; fi $(SEND-TO-LOG)


DATE.tex: $(CLQR).tex $(CLQR)-*.tex
$(DATE) > $@

clean: clean:
$(RM) *.dvi *.toc *.aux *.log *.idx *.ilg *.ind *.ps *.pdf *~ html/*~ *.flag *.jpg html/*.jpg *.tar.gz $(RM) *.dvi *.toc *.aux *.log *.idx *.ilg *.ind *.ps *.pdf *~ html/*~ *.flag *.jpg html/*.jpg *.tar.gz


publishclean:
$(RM) *~ html/*~



# Project hosting # Project hosting


maintainance: letter a4 release publish maintainance: letter a4 release publish


publish: html/sample-frontcover.jpg html/sample-doublepage.jpg \ publish: html/sample-frontcover.jpg html/sample-doublepage.jpg \
html/sample-firstpage-all.jpg html/sample-firstpage-four.jpg \ html/sample-firstpage-all.jpg html/sample-firstpage-four.jpg \
html/sample-firstpage-consec.jpg $(CLQR)-a4-consec.pdf REVISION.tex html/sample-firstpage-consec.jpg $(CLQR)-a4-consec.pdf
$(MAKE) publishclean $(MAKE) publishclean
$(RSYNC) --delete ./ trebb@shell.berlios.de:/home/groups/ftp/pub/clqr/clqr/ $(SEND-TO-LOG) $(RSYNC) --delete ./ trebb@shell.berlios.de:/home/groups/ftp/pub/clqr/clqr/ $(SEND-TO-LOG)
$(RSYNC) ./html/ trebb@shell.berlios.de:/home/groups/clqr/htdocs/ $(SEND-TO-LOG) $(RSYNC) ./html/ trebb@shell.berlios.de:/home/groups/clqr/htdocs/ $(SEND-TO-LOG)
Expand All @@ -102,7 +102,7 @@ release: letter a4 $(CLQR).tar.gz html/release-revision.txt html/release-date.tx
./upload.sh ./upload.sh


html/release-date.txt: html/release-date.txt:
$(DATE) >> $@ $(DATE) > $@


html/release-revision.txt: html/release-revision.txt:
$(BZR_REVISION) > $@ $(BZR_REVISION) > $@
Expand All @@ -129,3 +129,6 @@ html/sample-firstpage-consec.jpg: $(CLQR)-a4-consec.pdf


$(CLQR).tar.gz: $(CLQR).tar.gz:
$(BZR_EXPORT) $@ $(SEND-TO-LOG) $(BZR_EXPORT) $@ $(SEND-TO-LOG)

publishclean:
$(RM) *~ html/*~
2 changes: 1 addition & 1 deletion REVISION.tex
@@ -1 +1 @@
11 12

0 comments on commit 28e57ae

Please sign in to comment.