File: rules

package info (click to toggle)
scrollz 2.2.3-1%2Bdeb10u1
  • links: PTS
  • area: main
  • in suites: buster
  • size: 8,392 kB
  • sloc: ansic: 79,473; tcl: 2,866; makefile: 703; sh: 508
file content (20 lines) | stat: -rwxr-xr-x 739 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

MAKE_FLAGS	= IRCLIB=\$${prefix}/share/scrollz INSTALL_IRCIO=\$${prefix}/lib/scrollz/bin/ircio INSTALL_IRCFLUSH=\$${prefix}/lib/scrollz/bin/ircflush INSTALL_WSERV=\$${prefix}/lib/scrollz/bin/wserv mandir=\$${prefix}/share/man/man1

override_dh_auto_configure:
	dh_auto_configure --verbose -- --enable-ipv6 --with-ssl

override_dh_auto_build:
	$(MAKE) $(MAKE_FLAGS) everything

override_dh_auto_install:
	$(MAKE) DESTDIR=$(CURDIR)/debian/scrollz $(MAKE_FLAGS) installeverything
	find $(CURDIR)/debian/scrollz/usr/share/scrollz -type d -empty -delete

override_dh_installchangelogs:
	dh_installchangelogs ChangeLog.ircii
	install -m 0644 ChangeLog $(CURDIR)/debian/scrollz/usr/share/doc/scrollz/ChangeLog.ircII

%:
	dh $@