File: rules

package info (click to toggle)
smb4k 3.0.7-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 14,068 kB
  • sloc: cpp: 24,258; xml: 872; sh: 102; makefile: 9
file content (16 lines) | stat: -rwxr-xr-x 504 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

%:
	dh $@ --with kf5

override_dh_auto_configure:
	dh_auto_configure -Skf5 -- -DINSTALL_PLASMOID=false -DINSTALL_HEADER_FILES=OFF

override_dh_auto_install:
	dh_auto_install
	# remove symlinks of private libraries
	find debian/smb4k -name '*.so' -type l -print -delete
	# remove translations of unbuilt plasma widget
	rm -f debian/smb4k/usr/share/locale/*/LC_MESSAGES/plasma_applet_org.kde.smb4kqml.mo
	# at the end, remove empty directories
	find debian/smb4k -type d -empty -delete