File: rules

package info (click to toggle)
ffmpeg2theora 0.30-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 608 kB
  • sloc: ansic: 5,810; python: 1,021; sh: 83; makefile: 21; xml: 1
file content (19 lines) | stat: -rwxr-xr-x 437 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

DEB_SCONS_OPTIONS := prefix=/usr destdir=$(CURDIR)/debian/ffmpeg2theora mandir=$(CURDIR)
DEB_SCONS_OPTIONS += APPEND_CCFLAGS="$(CPPFLAGS) $(CFLAGS)"
DEB_SCONS_OPTIONS += APPEND_LINKFLAGS="$(LDFLAGS)"


%:
	dh $@

override_dh_auto_build:
	scons $(DEB_SCONS_OPTIONS)

override_dh_auto_install:
	scons install $(DEB_SCONS_OPTIONS)

override_dh_auto_clean:
	dh_auto_clean
	rm -rf .sconf_temp/ .sconsign.dblite config.log