summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/files/hierarchy/links/leaving-private/build-spec/debian/rules
blob: 119c761120c5368c7d889f33c6d81b0db79e56d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@

# must create here; *.so files are ignored by dpkg-source
override_dh_auto_build:
	mkdir lib
	echo "A SHARED OBJECT" > lib/a-library.so

# In Ubuntu, dh does not catch this file by default.
#  They have diffed it to reduce the size of packages.
ifneq (,$(strip $(wildcard Changes)))
override_dh_installchangelogs:
	dh_installchangelogs Changes
endif