File: rules

package info (click to toggle)
xbae 4.60.4-7
  • links: PTS
  • area: main
  • in suites: buster, stretch
  • size: 5,832 kB
  • ctags: 2,138
  • sloc: ansic: 22,089; sh: 8,293; makefile: 522; tcl: 1
file content (16 lines) | stat: -rwxr-xr-x 482 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

%:
	dh $@ --with autoreconf

override_dh_autoreconf:
	dh_autoreconf --as-needed

override_dh_auto_configure:
	dh_auto_configure -- LDFLAGS="-Wl,--as-needed $(shell dpkg-buildflags --get LDFLAGS)"

override_dh_install:
	dh_install
	install -m644 $(CURDIR)/ac_find_xbae.m4 $(CURDIR)/debian/libxbae-dev/usr/share/aclocal
	install -m644 $(CURDIR)/ac_find_motif.m4 $(CURDIR)/debian/libxbae-dev/usr/share/aclocal
	rm -f $(CURDIR)/debian/libxbae-dev/usr/lib/libXbae.la