File: rules

package info (click to toggle)
gphoto2 2.4.5-3
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 4,212 kB
  • ctags: 399
  • sloc: sh: 9,664; ansic: 5,624; perl: 89; makefile: 75; sed: 16
file content (20 lines) | stat: -rwxr-xr-x 486 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

include /usr/share/quilt/quilt.make

# Need to depend on the patch stamp, and need to pass a specific flag
# to ./configure, hence a specific target:
build: $(QUILT_STAMPFN)
	dh build --before auto_configure
	dh_auto_configure -- LDFLAGS="-Wl,-z,defs -Wl,--as-needed"
	dh build --after auto_configure

# Make sure patches get unapplied:
clean: unpatch
	dh clean
	# Make sure l10n files are properly rebuilt:
	rm -f po/stamp-po po/*.gmo

# Everything else:
%:
	dh $@