File: rules

package info (click to toggle)
ytfzf 2.6.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,872 kB
  • sloc: sh: 3,978; python: 135; makefile: 59; perl: 7
file content (24 lines) | stat: -rwxr-xr-x 736 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
22
23
24
#!/usr/bin/make -f
#export DH_VERBOSE = 1

export DESTDIR=debian/ytfzf

%:
	dh $@

override_dh_auto_build:

override_dh_auto_install:
	dh_auto_install -- PREFIX=/usr
	$(MAKE) doc addons -- PREFIX=/usr
	rm -rf $(DESTDIR)/usr/share/licenses

        # 'docs/conf.sh' will be installed by debian/examples in
        # the correct location '/usr/share/doc/ytfzf/examples'.
	rm -rf $(DESTDIR)/usr/share/doc/ytfzf/conf.sh

        # gtkdialog has been removed from Debian since 2009, and is
        # needed for the 'gui' extension, so 'addons/extensions/gui'
        # and 'addons/extensions/interfaces/gui' will be removed.
	rm -rf $(DESTDIR)/usr/share/ytfzf/addons/extensions/gui \
	       $(DESTDIR)/usr/share/ytfzf/addons/interfaces/gui