File: rules

package info (click to toggle)
rpm2html 1.11.2-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,176 kB
  • sloc: ansic: 14,376; sh: 2,514; perl: 122; makefile: 93
file content (34 lines) | stat: -rwxr-xr-x 746 bytes parent folder | download
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
31
32
33
34
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

build: build-arch build-indep
build-arch: build-stamp
build-indep: build-stamp
build-stamp:
	dh build --before auto_configure
	autoreconf -f -i
	dh build --remaining
	touch $@

clean:
	dh $@
	rm -f Makefile.in aclocal.m4 configure dir.png.h new.png.h missing INSTALL config.guess config.sub install-sh

install: build
	dh $@

# Build architecture-independent files here.
binary-indep: build install
# We have nothing to do.

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

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