File: rules

package info (click to toggle)
libint2 2.3.0~beta3-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 14,432 kB
  • ctags: 5,089
  • sloc: cpp: 32,063; ansic: 26,475; sh: 3,080; makefile: 943; perl: 482; python: 129
file content (26 lines) | stat: -rwxr-xr-x 510 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
#!/usr/bin/make -f
# -*- makefile -*-

#export LD_LIBRARY_PATH=$(CURDIR)/lib/.libs 

%:
	dh $@

override_dh_auto_configure:
	./autogen.sh
	dh_auto_configure -- 		\
		--with-build-id=''	\
		--enable-shared		\
		--enable-eri=yes	\
		--enable-eri2=yes	\
		--enable-eri3=yes

override_dh_auto_clean:
	#dh_auto_clean
	rm -fr tests/eri/.libs
	rm -f include/libint2/basis.h

ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
override_dh_auto_test:
	-(cd tests && $(MAKE) check LD_LIBRARY_PATH=$(CURDIR)/lib/.libs)
endif