File: rules

package info (click to toggle)
libtut 0.0.20070706-3
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye
  • size: 1,144 kB
  • sloc: cpp: 3,588; xml: 137; makefile: 18; ansic: 9
file content (24 lines) | stat: -rwxr-xr-x 602 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
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# GNU copyright 1997 to 1999 by Joey Hess.

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

%:
	dh $@ --buildsystem=none


override_dh_installexamples:
	dh_installexamples
	set -e ; for ext in bcc icl mingw2 mingw3 vc7; do \
		rm -f debian/libtut-dev/usr/share/doc/libtut-dev/examples/*/Makefile.$$ext; \
	done

	set -e ; for mf in debian/libtut-dev/usr/share/doc/libtut-dev/examples/*/Makefile.gcc-unix; do \
		ln -s Makefile.gcc-unix $${mf%.gcc-unix}; \
	done

override_dh_compress:
	dh_compress -X.cpp