File: rules

package info (click to toggle)
chemtool 1.6.14-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 4,416 kB
  • sloc: ansic: 56,589; sh: 4,455; pascal: 825; makefile: 456; yacc: 288; sed: 16
file content (22 lines) | stat: -rwxr-xr-x 561 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
#!/usr/bin/make -f

#export DH_VERBOSE=1

PACKAGE  = chemtool

export CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS)
export CFLAGS   := $(shell dpkg-buildflags --get CFLAGS) $(shell dpkg-buildflags --get LDFLAGS) -Wl,--as-needed
export LDFLAGS  := $(shell dpkg-buildflags --get LDFLAGS) -Wl,--as-needed

%:
	dh $@ --with autotools_dev --parallel

override_dh_auto_configure:
	dh_auto_configure -- --without-gnomedir --without-kdedir

override_dh_auto_install:
	dh_auto_install
	$(RM) $(CURDIR)/debian/${PACKAGE}/usr/bin/chemtoolbg

override_dh_auto_test: