File: rules

package info (click to toggle)
fondu 0.0.20060102-4.1
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch
  • size: 892 kB
  • ctags: 734
  • sloc: ansic: 10,715; sh: 2,474; makefile: 125
file content (27 lines) | stat: -rwxr-xr-x 646 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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS	= hardening=+all
export DEB_CFLAGS_MAINT_APPEND	= -Wall -pedantic
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

CHANGELOG = debian/upstream.changelog

# Run this rule manually for each new release
get-changelog:
	lynx -dump http://fondu.sourceforge.net/ | \
	awk ' /References/ {exit} /^ +Changelog/,/References/ {print}' \
	> $(CHANGELOG)

override_dh_installchangelogs:
	dh_installchangelogs $(CHANGELOG)

override_dh_auto_install:
	# See debian/install

override_dh_auto_build:
	$(MAKE) CFLAGS="$(CFLAGS) $(CPPFLAGS) $(LDFLAGS)"

%:
	dh $@ --with autoreconf,autotools-dev

# End of file