File: rules

package info (click to toggle)
mcs 0.7.2-2.1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 784 kB
  • sloc: sh: 3,466; ansic: 1,401; cpp: 210; makefile: 103
file content (16 lines) | stat: -rwxr-xr-x 409 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

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

%:
	dh $@ --with=autotools-dev

override_dh_auto_configure:
	dh_auto_configure -- --sysconfdir=/etc --enable-gconf CFLAGS="$(CFLAGS)"

override_dh_auto_build:
	dh_auto_build
	doxygen
	rm -f doc/html/jquery.js
	$(MAKE) -C doc/latex pdf && mv doc/latex/*pdf doc