File: rules

package info (click to toggle)
ufraw 0.22-1.1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 5,608 kB
  • ctags: 2,799
  • sloc: ansic: 27,835; cpp: 14,351; sh: 4,378; xml: 202; makefile: 174
file content (30 lines) | stat: -rwxr-xr-x 903 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
30
#!/usr/bin/make -f

ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
	export DEB_CFLAGS_MAINT_APPEND= -ffast-math
endif

%:
	dh $@ --with autoreconf --parallel

override_dh_auto_configure:
	dh_auto_configure -- -with-exiv2 --enable-extras --enable-mime \
		--enable-contrast


override_dh_auto_build:
	dh_auto_build
	# rename ufraw.1 to ufraw-batch.1, since we're installing it in the ufraw-batch package
	mv ufraw.1 ufraw-batch.1

override_dh_auto_install:
	dh_auto_install
	#rm $(CURDIR)/debian/ufraw/usr/bin/dcraw

#	remove the dcraw binary, since it's in the dcraw package
##	rm $(CURDIR)/debian/ufraw/usr/bin/dcraw

# Build architecture-dependent files here.
binary-arch: build install
#	rename ufraw.1 to ufraw-batch.1, since we're installing it in the ufraw-batch package
##	mv $(CURDIR)/debian/ufraw-batch/usr/share/man/man1/ufraw.1 $(CURDIR)/debian/ufraw-batch/usr/share/man/man1/ufraw-batch.1