Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 export PYBUILD_INSTALL_ARGSscip-debian debian bleachbit 6.0.2-1 bleachbit/rules/PYBUILD_INSTALL_ARGS.=--install-lib=/usr/share/bleachbit
4
5 %scip-debian debian bleachbit 6.0.2-1 bleachbit/rules/`%`().:
6 dh $@ --buildsystem=pybuild
7
8 execute_before_dh_auto_cleanscip-debian debian bleachbit 6.0.2-1 bleachbit/rules/execute_before_dh_auto_clean().:
9 find po -name "*.mo" -delete
10
11 execute_after_dh_auto_installscip-debian debian bleachbit 6.0.2-1 bleachbit/rules/execute_after_dh_auto_install().:
12 make -C po install DESTDIR=$(CURDIRscip-debian debian bleachbit 6.0.2-1 bleachbit/rules/CURDIR.)/debian/bleachbit
13 # Remove setuptools metadata, useless for a private installation
14 rm -rf $(CURDIRscip-debian debian bleachbit 6.0.2-1 bleachbit/rules/CURDIR.)/debian/bleachbit/usr/share/bleachbit/bleachbit-*.egg-info
15 # Remove Windows-specific modules
16 rm -f $(CURDIRscip-debian debian bleachbit 6.0.2-1 bleachbit/rules/CURDIR.)/debian/bleachbit/usr/share/bleachbit/bleachbit/Winapp.py
17 rm -f $(CURDIRscip-debian debian bleachbit 6.0.2-1 bleachbit/rules/CURDIR.)/debian/bleachbit/usr/share/bleachbit/bleachbit/Windows.py
18 rm -f $(CURDIRscip-debian debian bleachbit 6.0.2-1 bleachbit/rules/CURDIR.)/debian/bleachbit/usr/share/bleachbit/bleachbit/WindowsWipe.py
19
20 override_dh_installscip-debian debian bleachbit 6.0.2-1 bleachbit/rules/override_dh_install().:
21 # Do not install Windows-specific cleaners
22 dh_installscip-debian debian debhelper . dh_install(). $(addprefix -X,$(notdir $(shell grep -l os=.windows. $(shell grep -L -e os=.linux. -e os=.unix. cleaners/*.xml) | xargs ls)))
23 # Automatically generate .desktop file to invoke BleachBit as superuser
24 sed -e "s/Name=BleachBit/Name=BleachBit \(as root\)/; \
25 s/TryExec=bleachbit/TryExec=pkexec/; \
26 s/Exec=bleachbit/Exec=pkexec bleachbit/" \
27 org.bleachbit.BleachBit.desktop > debian/bleachbit/usr/share/applications/bleachbit-root.desktop
28
29 execute_after_dh_fixpermsscip-debian debian bleachbit 6.0.2-1 bleachbit/rules/execute_after_dh_fixperms().:
30 chmod +x $(CURDIRscip-debian debian bleachbit 6.0.2-1 bleachbit/rules/CURDIR.)/debian/bleachbit/usr/share/bleachbit/bleachbit.py
31 chmod -x $(CURDIRscip-debian debian bleachbit 6.0.2-1 bleachbit/rules/CURDIR.)/debian/bleachbit/usr/share/bleachbit/share/app-menu.ui