Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 PACKAGE = $(shell dh_listpackages)
4 TMP = $(CURDIR)/debian/$(PACKAGE)
5
6 %:
7 dh $@
8
9 # we want to use the system version of included modules, so
10 # we move the inc away and move it back afterwards
11 override_dh_auto_clean:
12 dh_auto_clean
13 [ ! -d $(CURDIR)/inc.save ] || mv $(CURDIR)/inc.save $(CURDIR)/inc
14
15 override_dh_auto_configure:
16 [ ! -d $(CURDIR)/inc ] || mv $(CURDIR)/inc $(CURDIR)/inc.save
17 dh_auto_configure
18
19 override_dh_auto_install:
20 dh_auto_install
21 $(RM) -v $(TMP)/usr/bin/package-stash-conflicts
22 rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/bin
23 $(RM) -v $(TMP)/usr/share/perl5/Package/Stash/Conflicts.pm