File: rules

package info (click to toggle)
wily 0.13.42-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,820 kB
  • sloc: ansic: 25,541; perl: 580; sh: 415; makefile: 400; python: 30; exp: 17
file content (29 lines) | stat: -rwxr-xr-x 744 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
27
28
29
#!/usr/bin/make -f

DEB_CPPFLAGS_MAINT_APPEND	 = -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=500

include /usr/share/dpkg/buildflags.mk

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --with-X
	dh_auto_configure --sourcedirectory=tools/win -- --with-X --cache-file=../../config.cache

override_dh_auto_build:
	dh_auto_build
	dh_auto_build --sourcedirectory=tools/win

override_dh_auto_clean:
	dh_auto_clean --sourcedirectory=tools/win
	dh_auto_clean
	$(RM) libXg/Makefile libframe/Makefile libmsg/Makefile wily/Makefile

override_dh_auto_install:
	mkdir -p debian/wily/etc/X11/app-defaults/
	install -m644 misc/Wily.ad \
           debian/wily/etc/X11/app-defaults/Wily

override_dh_installchangelogs:
	dh_installchangelogs Doc/changes.txt