File: gnu.mak

package info (click to toggle)
objcryst-fox 2022.1-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 7,040 kB
  • sloc: cpp: 70,656; xml: 43,909; ansic: 467; python: 170; makefile: 21; sh: 12
file content (25 lines) | stat: -rw-r--r-- 994 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
include ../rules.mak
DIR_CRYST := ..

#target to make documentation (requires doxygen)
#also makes tags file, although it is not related to doxygen
html/index.html: ../*/*.h
	doxygen doxygen.config
	cp ${DIR_CRYST}/license.txt html/ObjCryst-license.txt
	cp ${DIR_CRYST}/../newmat/nm10.htm html/newmat.htm
	cp ${DIR_CRYST}/../atominfo/readme.html html/atominfo.html
	cp ${DIR_CRYST}/../sglite/LICENSE html/sglite-license.txt

doc: html/index.html

pdf: doc
	cd latex ; pdflatex refman ; makeindex refman.idx ; pdflatex refman

ctags:
	ctags ${DIR_LIBCRYST}/*.cpp ${DIR_VFNQUIRKS}/*.cpp ${DIR_SGLITE}/*.c  ${DIR_ATOMINFO}/*.c ${DIR_REFOBJ}/*.cpp ${DIR_CRYSTVECTOR}/*.cpp ${DIR_WXWCRYST}/*.cpp ${DIR_LIBCRYST}/*.h  ${DIR_VFNQUIRKS}/*.h ${DIR_SGLITE}/*.h  ${DIR_ATOMINFO}/*.h  ${DIR_CRYSTVECTOR}/*.h ${DIR_REFOBJ}/*.h ${DIR_CRYSTVECTOR}/*.h ${DIR_WXWCRYST}/*.h

clean:
	@${RM} html/* latex/*

sourceforge:
	scp -C -r html/* vincefn@shell.sourceforge.net:/home/groups/o/ob/objcryst/htdocs/ObjCryst/