Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3
4 # Uncomment this to turn on verbose mode.
5 #export DH_VERBOSE=1
6
7 PACKAGE = lrzip
8 PKGDIR = $(CURDIR)/debian/$(PACKAGE)
9 DOCDIR = $(PKGDIR)/usr/share/doc/lrzip
10
11 include /usr/share/dpkg/buildflags.mk
12 CFLAGS += -Wall -pedantic
13 LDFLAGS += -Wl,--as-needed
14
15 override_dh_auto_configure:
16 # With pristine tarballs from version control, there is no ./configure
17 [ -f configure ] || autoreconf -vfi
18 dh_auto_configure -- LDFLAGS="$(LDFLAGS)" CFLAGS="$(CFLAGS)"
19
20 override_dh_auto_build:
21 $(MAKE) NO_ASSEMBLER=1
22
23 override_dh_auto_install:
24 $(MAKE) DESTDIR=$(PKGDIR) \
25 INSTALL_DOC=/usr/share/doc/lrzip \
26 INSTALL_DOC_LZMA=/usr/share/doc/lrzip/lzma \
27 install
28 # Remove extra file
29 rm -f $(DOCDIR)/README.Assembler
30 # already in package bash-completion
31 rm -rf $(PKGDIR)/etc
32
33 override_dh_dwz:
34 @echo dh_dwz NOP due to being buggy
35
36 %:
37 dh $@ --with autoreconf
38
39 .PHONY: override_dh_auto_configure override_dh_auto_build \
40 override_dh_auto_install override_dh_dwz
41 # End of file