File: rules

package info (click to toggle)
spooles 2.2-14.2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 19,716 kB
  • sloc: ansic: 146,836; sh: 7,571; csh: 3,615; makefile: 1,970; perl: 74
file content (35 lines) | stat: -rwxr-xr-x 1,095 bytes parent folder | download
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
34
35
#!/usr/bin/make -f
%:
	dh $@

override_dh_auto_build-arch:
	dh_auto_build -- lib

override_dh_auto_build-indep:
	for texdocdir in AllInOne FrontTrees ReferenceManual; do \
	  (cd documentation/$$texdocdir; \
	   rm -f main.toc; \
	   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
	rm -rf debian/tmp/usr/include/spooles/.pc