File: rules

package info (click to toggle)
extra-xdg-menus 1.0-5
  • links: PTS
  • area: main
  • in suites: bullseye, sid
  • size: 904 kB
  • sloc: sh: 788; makefile: 159
file content (14 lines) | stat: -rwxr-xr-x 420 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

%:
	dh $@

execute_after_dh_auto_install:
	# Remove un-needed translation files (translations are merged into the .directory files)
	rm -rf $(CURDIR)/debian/extra-xdg-menus/usr/share/locale/
	rm -rf $(CURDIR)/debian/extra-xdg-menus/usr/@DATADIRNAME@/locale/
	rmdir $(CURDIR)/debian/extra-xdg-menus/usr/@DATADIRNAME@/