File: rules

package info (click to toggle)
gjots2 3.0.2-0.1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,804 kB
  • sloc: python: 4,256; sh: 957; xml: 194; makefile: 11
file content (17 lines) | stat: -rwxr-xr-x 479 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f
# can be removed once LP: #788524 is fixed (dh_python2 backport)
WITH_PYTHON2 = $(shell test -f /usr/bin/dh_python2 && echo "--with python2")

%:
	dh $@ ${WITH_PYTHON2}

override_dh_install: 
	dh_install

	rm $(CURDIR)/debian/gjots2/usr/share/doc/*/AUTHORS
	rm $(CURDIR)/debian/gjots2/usr/share/doc/*/INSTALL
	rm $(CURDIR)/debian/gjots2/usr/share/doc/*/COPYING
	rm $(CURDIR)/debian/gjots2/usr/share/doc/*/ChangeLog

override_dh_compress:
	dh_compress -X.gjots