File: rules

package info (click to toggle)
mscgen 0.20-6
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,124 kB
  • ctags: 1,013
  • sloc: ansic: 3,924; sh: 1,254; yacc: 320; lex: 234; makefile: 61
file content (21 lines) | stat: -rwxr-xr-x 583 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
#!/usr/bin/make -f

export DEB_LDFLAGS_MAINT_APPEND=-Wl,--no-add-needed,--as-needed,--no-undefined
export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@ -Bbuild

override_dh_auto_configure:
	dh_auto_configure -Bbuild -- --with-freetype --with-png

# dh_auto_install blindly dumps every thing in debian/mscgen/
# However this means that the package ends up with two upstream
# changelogs and COPYING, which is one too much of each.
override_dh_auto_install:
	dh_auto_install -Bbuild
	cd debian/mscgen/usr/share/doc/mscgen/ && \
	  rm -f COPYING && \
	  mv -f ChangeLog changelog