NWChem/doc/user/GNUmakefile
Huub Van Dam 97f303e6f8 HvD: In the CVS era the $Id: $ tags in the source code files would
automatically be expanded to include useful information about the
checkin (including the file's revision number). With the switch over
to SVN this was lost because SVN only does this expansion if you 
explicitly ask for it (for every single file). 

I have added a script to the contrib directory that sets the appropriate
property to get SVN to do this expansion. This script will make it easy
to do this every time new source files are added. It is called
svn_expand_Id, the script contains some comments that explain the issue
and how it addresses this.  

This checkin sets this property for a subset of the relevant files
(trying to commit all files at once failed with svn crashing). 
In future the script will only affect those files for which the property
was not set before.
2010-10-29 18:04:21 +00:00

57 lines
1.4 KiB
Makefile

# $Id$
SOURCE = ack.tex execution.tex mcscf.tex sample.tex symex.tex \
basis.tex fourindex.tex scf.tex top-level.tex \
dft.tex geometry.tex mp2.tex scfgrad.tex user.tex \
disclaimer.tex intro.tex selci.tex hess.tex vib.tex \
dplot.tex knownbas.tex property.tex stepper.tex nwargos.tex \
ecp.tex functionality.tex ccsd.tex qmmm.tex
SOURCE_NOT_USED = md.tex
DVIPS_OPTS = -D300 -N0 -i -S200
all postscript user.ps: $(SOURCE)
rm -f user.[0-9][0-9][0-9] user.[0-9][0-9][0-9].ps
latex user.tex
latex user.tex
latex user.tex
dvips user ${DVIPS_OPTS} -o
./userpsfix
odd: $(SOURCE)
rm -f user.[0-9][0-9][0-9] user.[0-9][0-9][0-9].ps usereven.ps userodd.ps
latex user.tex
latex user.tex
latex user.tex
dvips user -D300 -N0 -A -o userodd.ps
dvips user -D300 -N0 -B -o usereven.ps
quick: $(SOURCE)
rm -f user.[0-9][0-9][0-9] user.[0-9][0-9][0-9].ps
latex user.tex
dvips user ${DVIPS_OPTS} -o
./userpsfix
html:
@../htmlize user
@../update_www user
html_only:
@../htmlize user
view: user.ps
ghostview -bg white -fg black -bd black user.001.ps
ghostview -bg white -fg black -bd black user.002.ps
pdf: $(SOURCE) .IGNORE
pdflatex -interaction=nonstopmode userpdf
pdflatex -interaction=nonstopmode userpdf
pdflatex -interaction=nonstopmode userpdf
.IGNORE:
clean:
/bin/rm -f *.dvi *.ps *.toc *.aux *.log *~
/bin/rm -rf user
realclean:
$(MAKE) clean
rm -f userpdf.pdf userpdf.out