File: rules

package info (click to toggle)
boats 201307-1.1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 1,440 kB
  • sloc: cpp: 10,139; makefile: 14; xml: 10
file content (20 lines) | stat: -rwxr-xr-x 411 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

export QMAKE_OPT=GIF_EXPORT=1 CONFIG+=unix_deploy

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- $(QMAKE_OPT)

override_dh_clean:
	qmake boats.pro $(QMAKE_OPT)
	$(MAKE) distclean
	rm -f debian/boats.debhelper.log

override_dh_install:
	dh_install
	rm $(CURDIR)/debian/boats/usr/share/mime/boats.xml
	install -m644 $(CURDIR)/boats.xml \
		$(CURDIR)/debian/boats.sharedmimeinfo