File: rules

package info (click to toggle)
unetbootin 471-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 3,944 kB
  • ctags: 213
  • sloc: cpp: 5,404; sh: 81; makefile: 19
file content (29 lines) | stat: -rwxr-xr-x 510 bytes parent folder | download | duplicates (2)
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

%:
	dh $@

build: build-stamp
build-stamp:
	qmake-qt4 "QMAKE_CXXFLAGS_RELEASE += $(CFLAGS)"
	make
	touch $@

clean:
	dh clean
	rm -f *.qm

install: build
	dh install -punetbootin

# Build architecture-independent files here.
binary-indep:
	lrelease-qt4 unetbootin.pro
	dh_install --sourcedir=$(CURDIR) -punetbootin-translations

# Build architecture-dependent files here.
binary-arch: install
	dh binary-arch

binary: binary-indep binary-arch
.PHONY: build binary-indep binary-arch install