Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2 # See debhelper(7) (uncomment to enable)
3 # output every command that modifies files on the build system.
4 #DH_VERBOSE = 1
5
6 PACKAGE=cowlib
7 include /usr/share/dpkg/pkg-info.mk
8
9 %:
10 dh $@
11
12 override_dh_auto_build-arch:
13 make app SKIP_DEPS=yes
14
15 override_dh_auto_build-indep:
16 make docs SKIP_DEPS=yes
17
18 override_dh_auto_install-arch:
19 dh_auto_install -a
20 install -d \
21 $(CURDIR)/debian/erlang-$(PACKAGE)/usr/lib/erlang/lib/$(PACKAGE)-$(DEB_VERSION_UPSTREAM)/ebin
22 install -m 644 ebin/* \
23 $(CURDIR)/debian/erlang-$(PACKAGE)/usr/lib/erlang/lib/$(PACKAGE)-$(DEB_VERSION_UPSTREAM)/ebin/
24 install -d \
25 $(CURDIR)/debian/erlang-$(PACKAGE)/usr/lib/erlang/lib/$(PACKAGE)-$(DEB_VERSION_UPSTREAM)/include
26 install -m 644 include/*.hrl \
27 $(CURDIR)/debian/erlang-$(PACKAGE)/usr/lib/erlang/lib/$(PACKAGE)-$(DEB_VERSION_UPSTREAM)/include/
28
29 override_dh_installdocs-indep:
30 dh_installdocs -i
31 mv $(CURDIR)/debian/erlang-$(PACKAGE)-doc/usr/share/doc/erlang-$(PACKAGE)/* \
32 $(CURDIR)/debian/erlang-$(PACKAGE)-doc/usr/share/doc/erlang-$(PACKAGE)-doc/
33 rmdir $(CURDIR)/debian/erlang-$(PACKAGE)-doc/usr/share/doc/erlang-$(PACKAGE)
34
35 override_dh_gencontrol-arch:
36 erlang-depends -a -perlang-$(PACKAGE)
37 dh_gencontrol -a -perlang-$(PACKAGE)
38
39 override_dh_compress:
40 dh_compress -X.erl -X.beam -X.pdf
41
42 override_dh_auto_test:
43 # Disable tests