Debian Codegraph @

Makefile

raw
1 #!/usr/bin/make -f
2
3
4 INSTALLED_ROOT_DIR = usr/share/deb-build-artifact-gather
5 # Nothing to do by default
6 all:
7
8 test:
9
10 install:
11 install -m0755 -Dt$(DESTDIR)/usr/bin assets/deb-build-artifact-gather
12 install -m0755 -d $(DESTDIR)/$(INSTALLED_ROOT_DIR)
13 cp -a --reflink=auto src/deb_build_artifact_gather $(DESTDIR)/$(INSTALLED_ROOT_DIR)
14 find $(DESTDIR)/$(INSTALLED_ROOT_DIR) -type d -name '__pycache__' -exec rm -fr {} +
15 install -m0755 -d $(DESTDIR)/usr/share/man/man1
16 pod2man --utf8 --section=1 --name="deb-build-artifact-gather" -c "Debian Aritfact gathering tooling" deb-build-artifact-gather.pod \
17 $(DESTDIR)/usr/share/man/man1/deb-build-artifact-gather.1
18 install -m 0644 -Dt $(DESTDIR)/usr/share/doc/deb-build-artifact-gather/docs docs/*
19 install -m 0644 -Dt $(DESTDIR)/usr/share/doc/deb-build-artifact-gather/ README.md
20 chmod -R u=rwX,go=rX $(DESTDIR)/$(DEBPUTY_INSTALLED_ROOT_DIR)