File: rules

package info (click to toggle)
taopm 1.0-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 6,972 kB
  • sloc: sh: 9,809; cpp: 5,161; yacc: 2,298; lex: 464; makefile: 434; ansic: 57
file content (21 lines) | stat: -rwxr-xr-x 702 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
#!/usr/bin/make -f

include /usr/share/dpkg/architecture.mk

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- TAODIR=/usr/lib/$(DEB_HOST_MULTIARCH)/taopm
override_dh_auto_clean:
	dh_auto_clean
	rm -f libtao/*.loT config.status.lineno
execute_after_dh_install:
	#Drop content of dependency_libs
	for file in $(CURDIR)/debian/taopm/usr/lib/$(DEB_HOST_MULTIARCH)/*.la; do \
	        sed -i "/dependency_libs/ s/'.*'/''/" $$file ; \
	done
execute_after_dh_fixperms:
	chmod 644 debian/taopm/usr/share/doc/taopm/examples/* \
                  debian/taopm/usr/lib/$(DEB_HOST_MULTIARCH)/taopm/include/* \
                  debian/taopm/usr/lib/$(DEB_HOST_MULTIARCH)/taopm/user-scripts/error.parse