File: rules

package info (click to toggle)
process-cpp 3.0.1-9
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 612 kB
  • sloc: cpp: 2,546; ansic: 225; makefile: 14
file content (22 lines) | stat: -rwxr-xr-x 656 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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

%:
	dh $@

override_dh_install:
	mkdir -p debian/tmp/usr/share/doc/libprocess-cpp-doc/
	mv debian/tmp/usr/share/doc/process-cpp/html debian/tmp/usr/share/doc/libprocess-cpp-doc/
	rmdir debian/tmp/usr/share/doc/process-cpp/

	# remove duplicate files and symlink them instead
	rdfind -makesymlinks true "debian/tmp/usr/share/doc/libprocess-cpp-doc/"
	symlinks -rc "debian/tmp/usr/share/doc/libprocess-cpp-doc/"

	dh_install

get-orig-source:
	uscan --noconf --force-download --rename --download-current-version --destdir=.