File: rules

package info (click to toggle)
umview 0.8.2-3
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye
  • size: 5,472 kB
  • sloc: ansic: 67,309; sh: 11,160; ruby: 914; makefile: 424; python: 141
file content (16 lines) | stat: -rwxr-xr-x 463 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk

DEB_CONFIGURE_EXTRA_FLAGS = --disable-python

binary-post-install/umview::
	for package in $(CURDIR)/debian/umview-mod-*.install; do \
		cat $$package | while read file destdir; do \
			if [ -z "$$destdir" ]; then \
				stripped_file="$$(echo "$$file" | cut -d/ -f3-)" ; \
				rm -vf $(CURDIR)/debian/umview/$$stripped_file; \
			fi; \
		done; \
	done