File: rules

package info (click to toggle)
fceux 2.2.2%2Bdfsg0-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 9,232 kB
  • ctags: 18,149
  • sloc: cpp: 106,097; ansic: 30,276; pascal: 391; makefile: 200; lisp: 60; sh: 47
file content (20 lines) | stat: -rwxr-xr-x 425 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

SCONSFLAGS=CREATE_AVI=1 SYSTEM_LUA=1 --prefix=$(CURDIR)/debian/fceux/usr

ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
    NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
    SCONSFLAGS += -j$(NUMJOBS)
endif

override_dh_auto_build:
	scons $(SCONSFLAGS)

override_dh_auto_install:
	scons $(SCONSFLAGS) install

override_dh_auto_clean:
	scons $(SCONSFLAGS) -c

%:
	dh $@