File: rules

package info (click to toggle)
spooles 2.2-12
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 19,660 kB
  • ctags: 3,690
  • sloc: ansic: 146,836; sh: 7,571; csh: 3,615; makefile: 1,968; perl: 74
file content (33 lines) | stat: -rwxr-xr-x 1,029 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
26
27
28
29
30
31
32
33
#!/usr/bin/make -f
%:
	dh $@ --parallel

override_dh_auto_build-arch:
	make lib

override_dh_auto_build-indep:
	for texdocdir in AllInOne FrontTrees ReferenceManual; do \
	  (cd documentation/$$texdocdir; \
	   latex main; \
	   latex main; \
	   latex main; \
	   dvips main -o $$texdocdir.ps); \
	done
	for module in A2 BKL BPG Chv ChvList ChvManager Coords DSTree DV \
	    DenseMtx Drand EGraph ETree FrontMtx GPart Graph I2Ohash IIheap \
	    IV IVL Ideq InpMtx Lock MSMD Network PatchAndGoInfo Pencil Perm \
	    SemiImplMtx SolveMap SubMtx SubMtxList SubMtxManager SymbFac Tree \
	    Utilities ZV misc MPI MT Eigen LinSol; do \
	  (cd $$module/doc; \
	   latex main; \
	   latex main; \
	   latex main; \
	   dvips main -o $$module.ps); \
	done

override_dh_auto_install-arch:
	install -d debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)
	cp -a libspooles* debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)
	for headerfile in `find . -name \*.h -print`; do \
	  install -D $$headerfile debian/tmp/usr/include/spooles/$$headerfile;\
	done