File: rules

package info (click to toggle)
errands 46.2.10-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,536 kB
  • sloc: python: 5,935; sh: 9; xml: 7; makefile: 5
file content (10 lines) | stat: -rwxr-xr-x 302 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/make -f

PACKAGE_NAME = $(firstword $(shell grep Package debian/control | cut -d: -f2))

%:
	dh $@

# Delete empty directory: /usr/share/errands/errands/utils.
execute_after_dh_auto_install:
	find debian/$(PACKAGE_NAME)/usr/share/$(PACKAGE_NAME)/$(PACKAGE_NAME)/utils -type d -empty -delete