File: rules

package info (click to toggle)
lua-torch-paths 0~20161027-g2bc6460-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 172 kB
  • ctags: 72
  • sloc: ansic: 971; makefile: 10; sh: 3
file content (15 lines) | stat: -rwxr-xr-x 441 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS= hardening=+all

%:
	dh $@ --buildsystem=lua --with lua

override_dh_auto_configure:
	ln -s . paths
	# the following command line generates a paths.h file with patched CMakeLists.txt
	set -e; mkdir build; cd build; cmake ..; cp paths.h ..; cd ..; rm -rf build;
	dh_auto_configure

override_dh_auto_clean:
	-$(RM) -rf paths.h 5.1-torch-paths 5.2-torch-paths debian/trash paths
	dh_auto_clean