File: rules

package info (click to toggle)
bist 0.5.2-1.1
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid, stretch
  • size: 3,128 kB
  • sloc: cpp: 34,868; sh: 559; makefile: 73; sed: 16; python: 14; ansic: 12
file content (25 lines) | stat: -rwxr-xr-x 695 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
25
#!/usr/bin/make -f
# -*- makefile -*-

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

override_dh_auto_clean:
	dh_auto_clean
	dh_clean include/config_path.h \
		pluginsrc/Makefile.fetch_nist_database \
		pluginsrc/TREcalc/Makefile.TREcalc
	find . \( -name "config.log" -o -name "config.status" -o -name "*.mo" \) -delete

override_dh_install:
	dh_install
	find $(CURDIR)/debian/bist/ \( -name "*.po*" -o -name "LINGUAS" \) -delete
	find $(CURDIR)/debian/bist/ -name "*.la" -delete

	# remove the not-so-useful "documentation"
	-rm -rf $(CURDIR)/debian/bist/usr/share/doc/bist/index.html \
		$(CURDIR)/debian/bist/usr/share/doc/bist/bistlogo.png

%:
	dh $@ \
		--with autoreconf