X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=blobdiff_plain;f=Makefile;h=6fcc9bd27b93f585ae250423d671e22fdd610959;hp=a450e46d5ea9b116dcf1d7ac1a04a38d5c2ec278;hb=92e02c105c5b673502689ff4785ef54002b49a1b;hpb=7de3df349f56e05723b3eeb7972aaea4d9fc1000 diff --git a/Makefile b/Makefile index a450e46d..6fcc9bd2 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # dgit # Integration between git and Debian-style archives # -# Copyright (C)2013-2015 Ian Jackson +# Copyright (C)2013-2016 Ian Jackson # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -29,17 +29,22 @@ perldir=$(prefix)/share/perl5 man1dir=$(mandir)/man1 man7dir=$(mandir)/man7 infraexamplesdir=$(prefix)/share/doc/dgit-infrastructure/examples +txtdocdir=$(prefix)/share/doc/dgit PROGRAMS=dgit MAN1PAGES=dgit.1 MAN7PAGES=dgit.7 +TXTDOCS=README.dsc-import PERLMODULES=Debian/Dgit.pm INFRA_PROGRAMS=dgit-repos-server dgit-ssh-dispatch \ dgit-repos-policy-debian dgit-repos-admin-debian \ dgit-repos-policy-trusting dgit-mirror-rsync INFRA_EXAMPLES=get-dm-txt ssh-wrap drs-cron-wrap get-suites -INFRA_PERLMODULES=Debian/Dgit/Policy/Debian.pm +INFRA_PERLMODULES= \ + Debian/Dgit.pm \ + Debian/Dgit/Infra.pm \ + Debian/Dgit/Policy/Debian.pm all: @@ -47,6 +52,7 @@ install: installdirs $(INSTALL_PROGRAM) $(PROGRAMS) $(DESTDIR)$(bindir) $(INSTALL_DATA) $(MAN1PAGES) $(DESTDIR)$(man1dir) $(INSTALL_DATA) $(MAN7PAGES) $(DESTDIR)$(man7dir) + $(INSTALL_DATA) $(TXTDOCS) $(DESTDIR)$(txtdocdir) set -e; for m in $(PERLMODULES); do \ $(INSTALL_DATA) $$m $(DESTDIR)$(perldir)/$${m%/*}; \ done @@ -54,6 +60,7 @@ install: installdirs installdirs: $(INSTALL_DIR) $(DESTDIR)$(bindir) \ $(DESTDIR)$(man1dir) $(DESTDIR)$(man7dir) \ + $(DESTDIR)$(txtdocdir) \ $(addprefix $(DESTDIR)$(perldir)/, $(dir $(PERLMODULES))) install-infra: installdirs-infra