File: rules

package info (click to toggle)
autotools-dev 20240727.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 496 kB
  • sloc: sh: 4,082; makefile: 39; perl: 20
file content (28 lines) | stat: -rwxr-xr-x 861 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
#!/usr/bin/make -f
# debian/rules file for autotools-dev
# Copyright (c) 1997-2012,2022 by Henrique M. Holschuh and others

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

%:
	dh $@

# Otherwise our new versions would be replaced with the system ones...
override_dh_update_autotools_config:

override_dh_auto_build:
	dh_testdir
	$(MAKE)
	$(MAKE) manpages
	pod2man -c Debhelper debian/dh_autotools-dev_updateconfig  debian/dh_autotools-dev_updateconfig.1
	pod2man -c Debhelper debian/dh_autotools-dev_restoreconfig debian/dh_autotools-dev_restoreconfig.1

override_dh_auto_clean:
	dh_auto_clean
	-rm -f debian/dh_autotools-dev_updateconfig.1 debian/dh_autotools-dev_restoreconfig.1
	-rm -f doc/config.guess.1 doc/config.sub.1

# we're native and yet we do have an upstream changelog
override_dh_installchangelogs:
	dh_installchangelogs ChangeLog