File: rules

package info (click to toggle)
gedit-latex-plugin 3.20.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 4,604 kB
  • sloc: sh: 11,464; python: 6,938; xml: 1,885; makefile: 414; perl: 260
file content (21 lines) | stat: -rwxr-xr-x 582 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f

%:
	dh $@ --with python3

#override_dh_pysupport:
#	dh_pysupport /usr/lib/gedit-2/plugins/GeditLaTeXPlugin
#

override_dh_auto_configure:
	./configure --prefix=/usr

override_dh_install:
	dh_install
	find debian/gedit-latex-plugin/ -name '*.pyc' -exec rm -f '{}' \;
	find debian/gedit-latex-plugin/ -name '*.pyo' -exec rm -f '{}' \;
#	rm -rf debian/gedit-latex-plugin/usr/lib/gedit-2/plugins/GeditLaTeXPlugin/icons
#	rm -f debian/gedit-latex-plugin/usr/lib/gedit-2/plugins/GeditLaTeXPlugin/COPYING

override_dh_python3:
	dh_python3 /usr/lib/gedit/plugins/latex/