Skip to content

Commit 1568972

Browse files
Work on the install-doc target to script updating of website documentation.
1 parent 052ec0e commit 1568972

8 files changed

+2321
-17
lines changed

.gitignore

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
*.o
2+
*.d
3+
*~
4+
\#*
5+
*.ind
6+
*.out
7+
*.cd
8+
*.class
9+
*.jar
10+
*.a
11+
*.so
12+
unpack_base.h
13+
json_unpack_base.h

Doxyfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ PROJECT_NAME = Classdesc
3131
# This could be handy for archiving the generated documentation or
3232
# if some version control system is used.
3333

34-
PROJECT_NUMBER =
34+
@INCLUDE = Doxyversion
3535

3636
# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
3737
# base path where the generated documentation will be put.

Makefile

+9
Original file line numberDiff line numberDiff line change
@@ -169,3 +169,12 @@ VERSION=$(shell git describe)
169169

170170
dist:
171171
git archive --format=tar.gz --prefix=classdesc-$(VERSION)/ HEAD -o /tmp/classdesc-$(VERSION).tar.gz
172+
173+
# install documentation on SourceForge
174+
DOCPREFIX=web.sf.net:/home/project-web/classdesc/htdocs/doc
175+
176+
install-doc:
177+
doxygen
178+
-cd doc; sh Makedoc
179+
rsync -e ssh -r -z --progress --delete doc/classdesc $(DOCPREFIX)
180+
rsync -e ssh -r -z --progress --delete html/* $(DOCPREFIX)/doxygen

doc/Makedoc

+5-16
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,13 @@
1-
. /usr/local/share/aegis/profile
2-
aecp classdesc.ps
31
rm *~ *.aux *.dvi *.log *.blg *.toc *.lof *.ilg *.idx
42
latex classdesc
53
makeindex classdesc.idx
64
bibtex classdesc
75
latex classdesc
86
latex classdesc
97
dvips classdesc
10-
TMP=/tmp/eco-doc$$
11-
mkdir $TMP
12-
aecp classdesc
13-
rm -rf classdesc
14-
latex2html classdesc
15-
rm -rf $TMP
8+
git rm -rf classdesc
9+
latex2html -local_icons classdesc
1610
rm *~ *.aux *.dvi *.log *.blg *.toc *.lof *.ilg *.idx
17-
# remove extraneous file from repository
18-
aegis -list -terse project_files|grep doc/classdesc/|while read nm; do
19-
if [ ! -f ../$nm ]; then
20-
aecpu ../$nm
21-
aerm -no_whiteout ../$nm
22-
fi
23-
done
24-
aenf classdesc
11+
12+
for i in classdesc/*; do git add $i; done
13+
git commit -m "Making doc consistent in git"

doc/classdesc.ps

29.8 KB
Binary file not shown.

doc/classdesc.tex

+3
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020

2121
\begin{document}
2222
\maketitle
23+
\begin{center}
24+
\input{version.tex}
25+
\end{center}
2326
\tableofcontents
2427
\input{classdesc-common}
2528

0 commit comments

Comments
 (0)