File: rules

package info (click to toggle)
sdl-stretch 0.3.1-12
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,804 kB
  • sloc: sh: 10,176; ansic: 3,400; python: 791; makefile: 119
file content (25 lines) | stat: -rwxr-xr-x 591 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
#!/usr/bin/make -f

#export DH_VERBOSE=1

export DEB_CFLAGS_MAINT_APPEND  := -pipe -Wall
export DEB_LDFLAGS_MAINT_APPEND := -Wl,--no-undefined -Wl,--as-needed


%:
	dh $@

override_dh_auto_build:
	dh_auto_build
	dh_auto_build -- docs

override_dh_auto_install:
	dh_auto_install
	dh_auto_install -- install-docs

override_dh_auto_clean:
	rm -f src/SDL_stretch.pc.in src/SDL_stretch.pc src/SDL_stretch-uninstalled.pc
        # Make clean doesn't remove the docs, so we do manually
	rm -f doc/SDL_stretch.spec
	rm -f doc/*.xml doc/*.dxml doc/*.html doc/*.ar doc/*.spec doc/*.old
	dh_auto_clean